wok-next rev 9860
php: what was thes genpkg rules in compile_rules
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 17:52:43 2011 +0200 (2011-05-16) |
parents | 94543eb9b7dc |
children | b58ede60af7d |
files | php/receipt |
line diff
1.1 --- a/php/receipt Mon May 16 16:29:17 2011 +0200 1.2 +++ b/php/receipt Mon May 16 17:52:43 2011 +0200 1.3 @@ -67,14 +67,6 @@ 1.4 cp /etc/apache/httpd.conf $install/etc/apache/httpd.conf 1.5 make INSTALL_ROOT=$install install 1.6 } 1.7 - # Recommended config file and phpinfo. 1.8 - cp php.ini-recommended $install/etc/php.ini 1.9 - sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \ 1.10 - -i $install/etc/php.ini 1.11 - cp -a $stuff/phpinfo $install/usr/share 1.12 - mkdir install/usr/share/applications $install/usr/share/pixmaps 1.13 - cp $stuff/php.desktop $install/usr/share/applications 1.14 - cp $stuff/php.png $install/usr/share/pixmaps 1.15 } 1.16 1.17 # Rules to gen a SliTaz package suitable for Tazpkg. 1.18 @@ -82,6 +74,12 @@ 1.19 { 1.20 mkdir -p $fs/usr/bin $fs/etc $fs/usr/share 1.21 cp -a $src/sapi/cgi/php-cgi $fs/usr/bin 1.22 + 1.23 + # Recommended config file and phpinfo. 1.24 + cp $src/php.ini-recommended $install/etc/php.ini 1.25 + sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \ 1.26 + -i $fs/etc/php.ini 1.27 + cp -a $stuff/phpinfo $install/usr/share 1.28 } 1.29 1.30 # Post and pre install commands to stop