# HG changeset patch # User Pascal Bellard # Date 1229968218 0 # Node ID 1ec955a912be832875d094e150b353d54a1e86db # Parent 45e6c1f3da4fc9569994bc61f2aad1b179f567c3 Add php-auth-sasl diff -r 45e6c1f3da4f -r 1ec955a912be php-auth-sasl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/php-auth-sasl/receipt Mon Dec 22 17:50:18 2008 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="php-auth-sasl" +VERSION="1.0.2" +CATEGORY="development" +SHORT_DESC="Abstraction of various SASL mechanism responses for php." +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://pear.php.net/" +SOURCE="Auth_SASL" +TARBALL="$SOURCE-$VERSION.tgz" +WGET_URL="http://download.pear.php.net/package/$TARBALL" +DEPENDS="php-pear" +BUILD_DEPENDS="php-pear php-cli" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + mkdir -p _pkg/usr/share/php + pear install --offline --installroot=$PWD/_pkg $SOURCES_REPOSITORY/$TARBALL +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/usr $fs + rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.* + rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l* + rm -rf $fs/usr/share/php/.dep* +} +