wok-stable rev 1779
Add php-cli & php-pear
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 28 22:07:35 2008 +0000 (2008-11-28) |
parents | fade386d1cf6 |
children | 879fb025757a |
files | php-cli/receipt php-pear/receipt php/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/php-cli/receipt Fri Nov 28 22:07:35 2008 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="php-cli" 1.7 +VERSION="5.2.5" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="PHP web programming language command line interpreter." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +DEPENDS="php" 1.12 +WEB_SITE="http://www.php.net/" 1.13 +WANTED="php" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/bin 1.19 + cp -a $_pkg/usr/bin/php $fs/usr/bin 1.20 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/php-pear/receipt Fri Nov 28 22:07:35 2008 +0000 2.3 @@ -0,0 +1,19 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="php-pear" 2.7 +VERSION="5.2.5" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="PHP web programming language pear libs." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +DEPENDS="php" 2.12 +WEB_SITE="http://www.php.net/" 2.13 +WANTED="php" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 + mkdir -p $fs/usr/share $fs/usr/bin $fs/etc 2.19 + cp -a $_pkg/usr/share/php $fs/usr/share 2.20 + cp $_pkg/etc/pear.conf $fs/etc 2.21 + cp $_pkg/usr/bin/pe* $fs/usr/bin 2.22 +}
3.1 --- a/php/receipt Fri Nov 28 17:32:51 2008 +0000 3.2 +++ b/php/receipt Fri Nov 28 22:07:35 2008 +0000 3.3 @@ -36,7 +36,8 @@ 3.4 --with-imap=shared --with-imap-ssl \ 3.5 --with-mhash=shared \ 3.6 --with-gd=shared \ 3.7 ---disable-cli" 3.8 +--with-pear=/usr/share/php \ 3.9 +" 3.10 ./configure $COMMON_ARGS $CONFIGURE_ARGS && \ 3.11 make && make INSTALL_ROOT=$PWD/_pkg install 3.12 ./configure $COMMON_ARGS --with-apxs2=/usr/bin/apxs $CONFIGURE_ARGS && \