summaryrefslogtreecommitdiff
path: root/phpmyadmin/Pkgfile
blob: 79f72dbf430255bfa0cb90352a684f09bcf93c7d (plain)
    1 # $Id: Pkgfile,v 1.19 2005/12/08 16:06:03 jue Exp $
    2 # Description: PHP tool to handle the administration of MySQL over the WWW
    3 # URL:         http://www.phpmyadmin.net/
    4 # Maintainer:  Jürgen Daubert, juergen dot daubert at t-online dot de
    5 # Depends on:  mod_php
    6 
    7 name=phpmyadmin
    8 version=2.8.0.4
    9 release=1
   10 source=(http://dl.sourceforge.net/sourceforge/$name/phpMyAdmin-$version.tar.bz2)
   11 
   12 build () {
   13     mkdir -p $PKG/var/www
   14     cp -R phpMyAdmin-$version $PKG/var/www/phpmyadmin
   15     cd $PKG/var/www/phpmyadmin
   16     rm -r scripts test
   17     rm libraries/{fpdf,transformations}/README 
   18     find lang/* -path "*/english*.inc.php" -or -exec rm {} \;
   19     find  -maxdepth 1 -type f | egrep -v '.*php|.*html|.*css' | xargs rm
   20     find -type f -exec chmod -x {} \;
   21     sed -i -e '207,233d' -e '237,324d' libraries/select_lang.lib.php
   22     sed -i '377s|^// ||' libraries/config.default.php
   23 }

Generated by cgit