24 lines
862 B
Plaintext
24 lines
862 B
Plaintext
# $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
|
|
version=2.7.0-pl2
|
|
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
|
|
rm libraries/{fpdf,transformations}/README
|
|
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 '50,76d' -e '80,167d' libraries/select_lang.lib.php
|
|
sed -i '367s|^// ||' config.default.php
|
|
}
|