void-packages/srcpkgs/phpMyAdmin/template

24 lines
772 B
Bash
Raw Normal View History

2015-09-18 05:13:11 +02:00
# Template file for 'phpMyAdmin'
pkgname=phpMyAdmin
2015-10-23 23:33:06 +02:00
version=4.5.1
2015-09-18 05:13:11 +02:00
revision=1
noarch=yes
build_style=fetch
depends="php php-mysql"
short_desc="Web-based MySQL database administration tool"
2015-09-18 05:13:11 +02:00
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="GPL-2"
homepage="http://www.phpmyadmin.net"
distfiles="https://files.phpmyadmin.net/phpMyAdmin/${version}/phpMyAdmin-${version}-all-languages.tar.gz>${pkgname}-${version}.tar.gz"
2015-10-23 23:33:06 +02:00
checksum=32a4430cf12388ec1953281c6a0cf1b63ac5353295cbed32b8f258b95500cc48
2015-09-18 05:13:11 +02:00
do_install() {
tar -zxvf ${pkgname}-${version}.tar.gz
vmkdir usr/share/webapps
vcopy ${pkgname}-${version}-all-languages usr/share/webapps/phpmyadmin
vinstall ${FILESDIR}/apache.conf 644 /etc/phpmyadmin/
vinstall ${FILESDIR}/lighttpd.conf 644 /etc/phpmyadmin/
}