wok rev 1921

Add php-auth-sasl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 22 17:50:18 2008 +0000 (2008-12-22)
parents 45e6c1f3da4f
children 6afe26c32da8
files php-auth-sasl/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/php-auth-sasl/receipt	Mon Dec 22 17:50:18 2008 +0000
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="php-auth-sasl"
     1.7 +VERSION="1.0.2"
     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 +WEB_SITE="http://pear.php.net/"
    1.12 +SOURCE="Auth_SASL"
    1.13 +TARBALL="$SOURCE-$VERSION.tgz"
    1.14 +WGET_URL="http://download.pear.php.net/package/$TARBALL"
    1.15 +DEPENDS="php-pear"
    1.16 +BUILD_DEPENDS="php-pear php-cli"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	mkdir -p _pkg/usr/share/php
    1.23 +	pear install --offline --installroot=$PWD/_pkg $SOURCES_REPOSITORY/$TARBALL
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	cp -a $_pkg/usr $fs
    1.30 +	rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.*
    1.31 +	rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l*
    1.32 +	rm -rf $fs/usr/share/php/.dep*
    1.33 +}
    1.34 +