wok view php-dev/receipt @ rev 10962

Fixed opencc CATEGORY. Don't use pushd and popd cause build bot may not use bash. Some clean up.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Sep 20 10:22:35 2011 +0000 (2011-09-20)
parents ed560df8d2fc
children 855f42b596c0
line source
1 # SliTaz package receipt.
3 PACKAGE="php-dev"
4 VERSION="5.2.17"
5 CATEGORY="development"
6 SHORT_DESC="PHP web programming language development files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="php cyrus-sasl libldap libmysqlclient libpng libpostgresqlclient \
9 libunixODBC mhash openssl jpeg libmcrypt libtool libkrb5 libcomerr3 net-snmp"
10 WEB_SITE="http://www.php.net/"
11 WANTED="php"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/lib/php $fs/usr/bin
17 cp -a $_pkg/usr/lib/php/extensions $fs/usr/lib/php
18 rm -f $fs/usr/lib/php/*so
19 cp -a $_pkg/usr/lib/php/build $fs/usr/lib/php
20 cp -a $_pkg/usr/include $fs/usr
21 cp -a $_pkg/usr/bin/php-config $_pkg/usr/bin/phpize $fs/usr/bin
22 }