2006-02-23 15:26:10 +00: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-04 15:05:07 +00:00
|
|
|
|
version=2.8.2.1
|
2006-02-23 15:26:10 +00: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 15:34:34 +00:00
|
|
|
|
rm -r scripts test
|
2006-08-04 15:05:07 +00:00
|
|
|
|
rm libraries/{fpdf,transformations,import}/README
|
2006-02-23 15:26:10 +00: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 15:34:34 +00:00
|
|
|
|
sed -i -e '207,233d' -e '237,324d' libraries/select_lang.lib.php
|
|
|
|
|
sed -i '377s|^// ||' libraries/config.default.php
|
2006-02-23 15:26:10 +00:00
|
|
|
|
}
|