wok-next annotate php-dev/receipt @ rev 2271
vacation: add BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 18 11:41:03 2009 +0000 (2009-02-18) |
parents | |
children | d1aba649375c |
rev | line source |
---|---|
pascal@1745 | 1 # SliTaz package receipt. |
pascal@1745 | 2 |
pascal@1745 | 3 PACKAGE="php-dev" |
pascal@1745 | 4 VERSION="5.2.5" |
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@1745 | 8 DEPENDS="php" |
pascal@1745 | 9 WEB_SITE="http://www.php.net/" |
pascal@1745 | 10 WANTED="php" |
pascal@1745 | 11 |
pascal@1745 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1745 | 13 genpkg_rules() |
pascal@1745 | 14 { |
pascal@1745 | 15 mkdir -p $fs/usr/lib/php $fs/usr/bin |
pascal@1745 | 16 cp -a $_pkg/usr/lib/php/extensions $fs/usr/lib/php |
pascal@1745 | 17 rm -f $fs/usr/lib/php/*so |
pascal@1745 | 18 cp -a $_pkg/usr/lib/php/build $fs/usr/lib/php |
pascal@1745 | 19 cp -a $_pkg/usr/include $fs/usr |
pascal@1745 | 20 cp -a $_pkg/usr/bin/php-config $_pkg/usr/bin/phpize $fs/usr/bin |
pascal@1745 | 21 } |