wok-next rev 10549
php: Added back code to add desktop, image, and php.ini in compile_rules. These files are needed for php-common not php directly. Thats what they were there.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 14:47:51 2011 +0000 (2011-05-25) |
parents | 8a6f547599c0 |
children | c1380fbec108 |
files | php/receipt |
line diff
1.1 --- a/php/receipt Wed May 25 14:28:06 2011 +0000 1.2 +++ b/php/receipt Wed May 25 14:47:51 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