wok diff php/receipt @ rev 10665

xbill: Fixed deps and bdeps. I think. It needs Xm/Xm.h file and lesstif-dev has it.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 27 03:44:32 2011 +0000 (2011-05-27)
parents 95a06d7c9189
children 62786d242bc4
line diff
     1.1 --- a/php/receipt	Mon May 16 20:12:20 2011 +0200
     1.2 +++ b/php/receipt	Fri May 27 03:44:32 2011 +0000
     1.3 @@ -67,6 +67,13 @@
     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 +	sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \
    1.10 +		-i $DESTDIR/etc/php.ini
    1.11 +	mkdir -p $DESTDIR/usr/share/applicattions $DESTDIR/usr/share/pixmaps
    1.12 +	cp $stuff/php.desktop $DESTDIR/usr/share/applications
    1.13 +	cp $stuff/php.png $DESTDIR/usr/share/pixmaps
    1.14  }
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 @@ -74,10 +81,7 @@
    1.18  {
    1.19  	mkdir -p $fs/usr/bin $fs/etc $fs/usr/share/php
    1.20  	cp -a $src/sapi/cgi/php-cgi $fs/usr/bin
    1.21 -	# Recommended config file and phpinfo.
    1.22 -	cp $src/php.ini-recommended $fs/etc/php.ini
    1.23 -	sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \
    1.24 -	    -i $fs/etc/php.ini
    1.25 +
    1.26  	cp -a $stuff/phpinfo $install/usr/share
    1.27  }
    1.28