# 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.9.0.2 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 rm libraries/{fpdf,transformations,import}/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 '217,243d' -e '247,334d' libraries/select_lang.lib.php sed -i '399s|^// ||' libraries/config.default.php }