wok-6.x annotate php-dev/receipt @ rev 14045
hydra: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 18 18:37:30 2013 +0100 (2013-02-18) |
parents | a82ead0ea109 |
children | ea4381b83496 |
rev | line source |
---|---|
pascal@1745 | 1 # SliTaz package receipt. |
pascal@1745 | 2 |
pascal@1745 | 3 PACKAGE="php-dev" |
erjo@13053 | 4 VERSION="5.4.4" |
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@5005 | 9 libunixODBC mhash openssl jpeg libmcrypt libtool libkrb5 libcomerr3 net-snmp" |
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 } |