wok rev 9795

php: fix receipt _pkg
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 14 03:20:23 2011 +0200 (2011-05-14)
parents d4dd884c80c0
children dae57d66daed
files php/receipt
line diff
     1.1 --- a/php/receipt	Sat May 14 03:02:04 2011 +0200
     1.2 +++ b/php/receipt	Sat May 14 03:20:23 2011 +0200
     1.3 @@ -59,21 +59,21 @@
     1.4  "
     1.5  	sed -i 's/pam_start/pam_nostart/' configure
     1.6  	./configure $COMMON_ARGS $CONFIGURE_ARGS && \
     1.7 -	make -j 4 && make INSTALL_ROOT=$PWD/_pkg install
     1.8 +	make -j 4 && make INSTALL_ROOT=$PWD/install install
     1.9  	./configure $COMMON_ARGS --with-apxs2=/usr/bin/apxs $CONFIGURE_ARGS && \
    1.10  	make -j 4 && {
    1.11 -		mkdir -p _pkg/etc/apache
    1.12 -		cp /etc/apache/httpd.conf _pkg/etc/apache/httpd.conf
    1.13 -		make INSTALL_ROOT=$PWD/_pkg install
    1.14 +		mkdir -p install/etc/apache
    1.15 +		cp /etc/apache/httpd.conf install/etc/apache/httpd.conf
    1.16 +		make INSTALL_ROOT=$install install
    1.17  	}
    1.18  	# Recommended config file and phpinfo.
    1.19 -	cp php.ini-recommended _pkg/etc/php.ini
    1.20 +	cp php.ini-recommended $install/etc/php.ini
    1.21  	sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \
    1.22 -	    -i _pkg/etc/php.ini
    1.23 -	cp -a $stuff/phpinfo _pkg/usr/share
    1.24 -	mkdir _pkg/usr/share/applications _pkg/usr/share/pixmaps
    1.25 -	cp $stuff/php.desktop _pkg/usr/share/applications
    1.26 -	cp $stuff/php.png _pkg/usr/share/pixmaps
    1.27 +	    -i $install/etc/php.ini
    1.28 +	cp -a $stuff/phpinfo $install/usr/share
    1.29 +	mkdir install/usr/share/applications $install/usr/share/pixmaps
    1.30 +	cp $stuff/php.desktop $install/usr/share/applications
    1.31 +	cp $stuff/php.png $install/usr/share/pixmaps
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.