# HG changeset patch # User Christophe Lincoln # Date 1203285248 -3600 # Node ID 8b267a450470a3eceac08fddb92f238b3284ac48 # Parent 9cc179346e698479d94c1edc4d78efdf7566a1da UP: php (5.2.5) diff -r 9cc179346e69 -r 8b267a450470 php/receipt --- a/php/receipt Sun Feb 17 22:20:04 2008 +0100 +++ b/php/receipt Sun Feb 17 22:54:08 2008 +0100 @@ -1,11 +1,12 @@ # SliTaz package receipt. PACKAGE="php" -VERSION="5.2.4" +VERSION="5.2.5" CATEGORY="development" SHORT_DESC="PHP web programming language." MAINTAINER="pankso@slitaz.org" -DEPENDS="lighttpd" +DEPENDS="lighttpd zlib libxml2 sqlite" +BUILD_DEPENDS="sqlite-dev libxml2-dev zlib-dev" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.php.net/" WGET_URL="http://us2.php.net/distributions/$TARBALL" @@ -15,20 +16,19 @@ compile_rules() { cd $src - ./configure --prefix=/usr --sysconfdir=/etc \ - --infodir=/usr/share/info --mandir=/usr/share/man \ - $CONFIGURE_ARGS \ - --enable-fastcgi \ - --enable-discard-path \ - --enable-force-cgi-redirect \ - --enable-mbstring \ - --with-config-file-path=/etc \ - --with-zlib \ - --disable-cli - # to get a 2 Mb php-cgi binary. - # - #--disable-libxml \ - #--disable-all + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --enable-fastcgi \ + --enable-discard-path \ + --enable-force-cgi-redirect \ + --enable-mbstring \ + --with-config-file-path=/etc \ + --with-zlib \ + --disable-cli \ + $CONFIGURE_ARGS make } @@ -37,11 +37,9 @@ { mkdir -p $fs/usr/bin $fs/etc $fs/usr/share cp -a $src/sapi/cgi/php-cgi $fs/usr/bin - strip -s $fs/usr/bin/* - # Recommended config file, phpinfo and pixmaps. + # Recommended config file and phpinfo. cp $src/php.ini-recommended $fs/etc/php.ini cp -a stuff/phpinfo $fs/usr/share - cp -a stuff/pixmaps $fs/usr/share } # Post and pre install commans to stop diff -r 9cc179346e69 -r 8b267a450470 php/stuff/php.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/php/stuff/php.desktop Sun Feb 17 22:54:08 2008 +0100 @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=PHP info +GenericName=PHP informations +GenericName[fr]=Informations sur PHP +Comment=PHP configuration informations +Comment[fr]=Informations de configuration de PHP +Exec=firefox http://localhost/phpinfo/ +Icon=php.png +Type=Application +Categories=System; diff -r 9cc179346e69 -r 8b267a450470 php/stuff/php.png Binary file php/stuff/php.png has changed diff -r 9cc179346e69 -r 8b267a450470 php/stuff/pixmaps/php.png Binary file php/stuff/pixmaps/php.png has changed