wok-stable annotate php-dev/receipt @ rev 4529
db: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 30 09:54:40 2009 +0100 (2009-11-30) |
parents | cdb7f539e116 |
children | f3327707164a |
rev | line source |
---|---|
pascal@1745 | 1 # SliTaz package receipt. |
pascal@1745 | 2 |
pascal@1745 | 3 PACKAGE="php-dev" |
pankso@4427 | 4 VERSION="5.2.11" |
pascal@1745 | 5 CATEGORY="development" |
pascal@1745 | 6 SHORT_DESC="PHP web programming language development files." |
pascal@1745 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2456 | 8 DEPENDS="php cyrus-sasl libldap libmysqlclient libpng libpostgresqlclient \ |
pascal@2456 | 9 libunixODBC mhash openssl" |
pascal@1745 | 10 WEB_SITE="http://www.php.net/" |
pascal@1745 | 11 WANTED="php" |
pascal@1745 | 12 |
pascal@1745 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1745 | 14 genpkg_rules() |
pascal@1745 | 15 { |
pascal@1745 | 16 mkdir -p $fs/usr/lib/php $fs/usr/bin |
pascal@1745 | 17 cp -a $_pkg/usr/lib/php/extensions $fs/usr/lib/php |
pascal@1745 | 18 rm -f $fs/usr/lib/php/*so |
pascal@1745 | 19 cp -a $_pkg/usr/lib/php/build $fs/usr/lib/php |
pascal@1745 | 20 cp -a $_pkg/usr/include $fs/usr |
pascal@1745 | 21 cp -a $_pkg/usr/bin/php-config $_pkg/usr/bin/phpize $fs/usr/bin |
pascal@1745 | 22 } |