wok-backports diff php-auth-sasl/receipt @ rev 33
Add: php modules
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jun 02 00:34:56 2014 +0200 (2014-06-02) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/php-auth-sasl/receipt Mon Jun 02 00:34:56 2014 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="php-auth-sasl" 1.7 +VERSION="1.0.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Abstraction of various SASL mechanism responses for php." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +WEB_SITE="http://pear.php.net/" 1.13 +SOURCE="Auth_SASL" 1.14 +TARBALL="$SOURCE-$VERSION.tgz" 1.15 +WGET_URL="http://download.pear.php.net/package/$TARBALL" 1.16 + 1.17 +DEPENDS="php-pear" 1.18 +BUILD_DEPENDS="php-pear php-cli" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + mkdir -p $DESTDIR/usr/share/php 1.25 + tar czf $TARBALL $SOURCE-$VERSION package.xml 1.26 + pear install --offline --installroot=$DESTDIR $TARBALL 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + cp -a $install/usr $fs 1.33 + rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.c* 1.34 + rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l* 1.35 + rm -rf $fs/usr/share/php/.dep* 1.36 +} 1.37 +