wok-current diff php/receipt @ rev 11317

Up: gsoap to 2.8.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 16 14:01:09 2011 +0000 (2011-11-16)
parents 62786d242bc4
children daafc089f669
line diff
     1.1 --- a/php/receipt	Sun Jun 05 11:00:57 2011 +0200
     1.2 +++ b/php/receipt	Wed Nov 16 14:01:09 2011 +0000
     1.3 @@ -67,21 +67,18 @@
     1.4  		cp /etc/apache/httpd.conf $DESTDIR/etc/apache/httpd.conf
     1.5  		make INSTALL_ROOT=$DESTDIR install
     1.6  	}
     1.7 -	# Recommended config file and phpinfo.
     1.8 -	cp $src/php.ini-recommended $DESTDIR/etc/php.ini
     1.9 +	# Recommended config file.
    1.10 +	mkdir -p $DESTDIR/etc
    1.11 +	cp $src/php.ini-recommended $DESTDIR/etc/php.ini || exit 1
    1.12  	sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \
    1.13  		-i $DESTDIR/etc/php.ini
    1.14 -	mkdir -p $DESTDIR/usr/share/applicattions $DESTDIR/usr/share/pixmaps
    1.15 -	cp $stuff/php.desktop $DESTDIR/usr/share/applications
    1.16 -	cp $stuff/php.png $DESTDIR/usr/share/pixmaps
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/bin $fs/etc $fs/usr/share/php
    1.23 +	mkdir -p $fs/usr/bin $fs/usr/share/php
    1.24  	cp -a $src/sapi/cgi/php-cgi $fs/usr/bin
    1.25 -	cp -a $stuff/phpinfo $install/usr/share
    1.26  }
    1.27  
    1.28  # Post and pre install commands to stop and restart Web server if needed.