# HG changeset patch # User Christopher Rogers # Date 1306334871 0 # Node ID 0dcf1c9b84df0e255abbdd80ca656c84e8a46202 # Parent 8a6f547599c072eb1cad232ae2145b76b69cba9a 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. diff -r 8a6f547599c0 -r 0dcf1c9b84df php/receipt --- a/php/receipt Wed May 25 14:28:06 2011 +0000 +++ b/php/receipt Wed May 25 14:47:51 2011 +0000 @@ -67,6 +67,13 @@ cp /etc/apache/httpd.conf $DESTDIR/etc/apache/httpd.conf make INSTALL_ROOT=$DESTDIR install } + # Recommended config file and phpinfo. + cp $src/php.ini-recommended $DESTDIR/etc/php.ini + sed -e 's|extension_dir = "./"|extension_dir = "/usr/share/php/"|' \ + -i $DESTDIR/etc/php.ini + mkdir -p $DESTDIR/usr/share/applicattions $DESTDIR/usr/share/pixmaps + cp $stuff/php.desktop $DESTDIR/usr/share/applications + cp $stuff/php.png $DESTDIR/usr/share/pixmaps } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -74,10 +81,7 @@ { mkdir -p $fs/usr/bin $fs/etc $fs/usr/share/php cp -a $src/sapi/cgi/php-cgi $fs/usr/bin - # Recommended config file and phpinfo. - cp $src/php.ini-recommended $fs/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 }