wok rev 238

UP: php (5.2.5)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 17 22:54:08 2008 +0100 (2008-02-17)
parents 9cc179346e69
children 7fcc9797a22e
files php/receipt php/stuff/php.desktop php/stuff/php.png php/stuff/pixmaps/php.png
line diff
     1.1 --- a/php/receipt	Sun Feb 17 22:20:04 2008 +0100
     1.2 +++ b/php/receipt	Sun Feb 17 22:54:08 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
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/php/stuff/php.desktop	Sun Feb 17 22:54:08 2008 +0100
     2.3 @@ -0,0 +1,11 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=PHP info
     2.7 +GenericName=PHP informations
     2.8 +GenericName[fr]=Informations sur PHP
     2.9 +Comment=PHP configuration informations
    2.10 +Comment[fr]=Informations de configuration de PHP
    2.11 +Exec=firefox http://localhost/phpinfo/
    2.12 +Icon=php.png
    2.13 +Type=Application
    2.14 +Categories=System;
     3.1 Binary file php/stuff/php.png has changed
     4.1 Binary file php/stuff/pixmaps/php.png has changed