24 lines
772 B
Bash
24 lines
772 B
Bash
# Template file for 'phpMyAdmin'
|
|
pkgname=phpMyAdmin
|
|
version=4.6.0
|
|
revision=1
|
|
noarch=yes
|
|
build_style=fetch
|
|
depends="php php-mysql"
|
|
short_desc="Web-based MySQL database administration tool"
|
|
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"
|
|
checksum=53e79a93b095714a641fdf7670c98a9cc74995a7652b386c7d87d914c32cff7f
|
|
|
|
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/
|
|
}
|
|
|