# HG changeset patch # User Christophe Lincoln # Date 1305561163 -7200 # Node ID cb5c920771cabe2420446b68faf9cd63c60e05e9 # Parent 94543eb9b7dc3d651821dbc05b87166be07c6826 php: what was thes genpkg rules in compile_rules diff -r 94543eb9b7dc -r cb5c920771ca php/receipt --- a/php/receipt Mon May 16 16:29:17 2011 +0200 +++ b/php/receipt Mon May 16 17:52:43 2011 +0200 @@ -67,14 +67,6 @@ cp /etc/apache/httpd.conf $install/etc/apache/httpd.conf make INSTALL_ROOT=$install install } - # Recommended config file and phpinfo. - cp php.ini-recommended $install/etc/php.ini - sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \ - -i $install/etc/php.ini - cp -a $stuff/phpinfo $install/usr/share - mkdir install/usr/share/applications $install/usr/share/pixmaps - cp $stuff/php.desktop $install/usr/share/applications - cp $stuff/php.png $install/usr/share/pixmaps } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -82,6 +74,12 @@ { mkdir -p $fs/usr/bin $fs/etc $fs/usr/share cp -a $src/sapi/cgi/php-cgi $fs/usr/bin + + # Recommended config file and phpinfo. + cp $src/php.ini-recommended $install/etc/php.ini + sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \ + -i $fs/etc/php.ini + cp -a $stuff/phpinfo $install/usr/share } # Post and pre install commands to stop