opt/phpmyadmin/Pkgfile

24 lines
893 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# $Id: Pkgfile,v 1.19 2005/12/08 16:06:03 jue Exp $
# Description: PHP tool to handle the administration of MySQL over the WWW
# URL: http://www.phpmyadmin.net/
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
# Depends on: mod_php
name=phpmyadmin
2006-10-07 16:51:00 +02:00
version=2.9.0.2
2006-02-23 16:26:10 +01:00
release=1
source=(http://dl.sourceforge.net/sourceforge/$name/phpMyAdmin-$version.tar.bz2)
build () {
mkdir -p $PKG/var/www
cp -R phpMyAdmin-$version $PKG/var/www/phpmyadmin
cd $PKG/var/www/phpmyadmin
rm -r scripts test contrib
2006-08-04 17:05:07 +02:00
rm libraries/{fpdf,transformations,import}/README
2006-02-23 16:26:10 +01:00
find lang/* -path "*/english*.inc.php" -or -exec rm {} \;
find -maxdepth 1 -type f | egrep -v '.*php|.*html|.*css' | xargs rm
find -type f -exec chmod -x {} \;
sed -i -e '217,243d' -e '247,334d' libraries/select_lang.lib.php
sed -i '399s|^// ||' libraries/config.default.php
2006-02-23 16:26:10 +01:00
}