# HG changeset patch # User Pascal Bellard # Date 1227910055 0 # Node ID 82beb3f42c4b21b824465dfd291e8e76df1cb5d3 # Parent fade386d1cf609b055eaee9f312f5739089fb0af Add php-cli & php-pear diff -r fade386d1cf6 -r 82beb3f42c4b php-cli/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/php-cli/receipt Fri Nov 28 22:07:35 2008 +0000 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="php-cli" +VERSION="5.2.5" +CATEGORY="development" +SHORT_DESC="PHP web programming language command line interpreter." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="php" +WEB_SITE="http://www.php.net/" +WANTED="php" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $_pkg/usr/bin/php $fs/usr/bin +} diff -r fade386d1cf6 -r 82beb3f42c4b php-pear/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/php-pear/receipt Fri Nov 28 22:07:35 2008 +0000 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="php-pear" +VERSION="5.2.5" +CATEGORY="development" +SHORT_DESC="PHP web programming language pear libs." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="php" +WEB_SITE="http://www.php.net/" +WANTED="php" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share $fs/usr/bin $fs/etc + cp -a $_pkg/usr/share/php $fs/usr/share + cp $_pkg/etc/pear.conf $fs/etc + cp $_pkg/usr/bin/pe* $fs/usr/bin +} diff -r fade386d1cf6 -r 82beb3f42c4b php/receipt --- a/php/receipt Fri Nov 28 17:32:51 2008 +0000 +++ b/php/receipt Fri Nov 28 22:07:35 2008 +0000 @@ -36,7 +36,8 @@ --with-imap=shared --with-imap-ssl \ --with-mhash=shared \ --with-gd=shared \ ---disable-cli" +--with-pear=/usr/share/php \ +" ./configure $COMMON_ARGS $CONFIGURE_ARGS && \ make && make INSTALL_ROOT=$PWD/_pkg install ./configure $COMMON_ARGS --with-apxs2=/usr/bin/apxs $CONFIGURE_ARGS && \