wok-next diff php/receipt @ rev 328
Desktop file for xload and mtPaint in French please...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 04 16:15:44 2008 +0100 (2008-03-04) |
parents | 17a39e4461e4 |
children | eb4e6a1af180 |
line diff
1.1 --- a/php/receipt Wed Feb 13 14:06:08 2008 +0100 1.2 +++ b/php/receipt Tue Mar 04 16:15:44 2008 +0100 1.3 @@ -1,11 +1,12 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="php" 1.7 -VERSION="5.2.4" 1.8 +VERSION="5.2.5" 1.9 CATEGORY="development" 1.10 SHORT_DESC="PHP web programming language." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 -DEPENDS="lighttpd" 1.13 +DEPENDS="lighttpd zlib libxml2 sqlite" 1.14 +BUILD_DEPENDS="sqlite-dev libxml2-dev zlib-dev" 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WEB_SITE="http://www.php.net/" 1.17 WGET_URL="http://us2.php.net/distributions/$TARBALL" 1.18 @@ -15,20 +16,19 @@ 1.19 compile_rules() 1.20 { 1.21 cd $src 1.22 - ./configure --prefix=/usr --sysconfdir=/etc \ 1.23 - --infodir=/usr/share/info --mandir=/usr/share/man \ 1.24 - $CONFIGURE_ARGS \ 1.25 - --enable-fastcgi \ 1.26 - --enable-discard-path \ 1.27 - --enable-force-cgi-redirect \ 1.28 - --enable-mbstring \ 1.29 - --with-config-file-path=/etc \ 1.30 - --with-zlib \ 1.31 - --disable-cli 1.32 - # to get a 2 Mb php-cgi binary. 1.33 - # 1.34 - #--disable-libxml \ 1.35 - #--disable-all 1.36 + ./configure \ 1.37 + --prefix=/usr \ 1.38 + --sysconfdir=/etc \ 1.39 + --infodir=/usr/share/info \ 1.40 + --mandir=/usr/share/man \ 1.41 + --enable-fastcgi \ 1.42 + --enable-discard-path \ 1.43 + --enable-force-cgi-redirect \ 1.44 + --enable-mbstring \ 1.45 + --with-config-file-path=/etc \ 1.46 + --with-zlib \ 1.47 + --disable-cli \ 1.48 + $CONFIGURE_ARGS 1.49 make 1.50 } 1.51 1.52 @@ -37,11 +37,9 @@ 1.53 { 1.54 mkdir -p $fs/usr/bin $fs/etc $fs/usr/share 1.55 cp -a $src/sapi/cgi/php-cgi $fs/usr/bin 1.56 - strip -s $fs/usr/bin/* 1.57 - # Recommended config file, phpinfo and pixmaps. 1.58 + # Recommended config file and phpinfo. 1.59 cp $src/php.ini-recommended $fs/etc/php.ini 1.60 cp -a stuff/phpinfo $fs/usr/share 1.61 - cp -a stuff/pixmaps $fs/usr/share 1.62 } 1.63 1.64 # Post and pre install commans to stop