opt/phpmyadmin/Pkgfile

24 lines
885 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-08-27 12:30:20 +02:00
version=2.8.2.4
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
2006-03-10 16:34:34 +01:00
rm -r scripts test
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 {} \;
2006-03-10 16:34:34 +01:00
sed -i -e '207,233d' -e '237,324d' libraries/select_lang.lib.php
sed -i '377s|^// ||' libraries/config.default.php
2006-02-23 16:26:10 +01:00
}