wok-current annotate php-auth-sasl/receipt @ rev 8358
Up: mercurial to 1.7.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 03 15:58:22 2011 +0000 (2011-02-03) |
parents | 1ec955a912be |
children | dcca3982e806 |
rev | line source |
---|---|
pascal@1921 | 1 # SliTaz package receipt. |
pascal@1921 | 2 |
pascal@1921 | 3 PACKAGE="php-auth-sasl" |
slaxemulator@7926 | 4 VERSION="1.0.4" |
pascal@1921 | 5 CATEGORY="development" |
pascal@1921 | 6 SHORT_DESC="Abstraction of various SASL mechanism responses for php." |
pascal@1921 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1921 | 8 WEB_SITE="http://pear.php.net/" |
pascal@1921 | 9 SOURCE="Auth_SASL" |
pascal@1921 | 10 TARBALL="$SOURCE-$VERSION.tgz" |
pascal@1921 | 11 WGET_URL="http://download.pear.php.net/package/$TARBALL" |
pascal@1921 | 12 DEPENDS="php-pear" |
pascal@1921 | 13 BUILD_DEPENDS="php-pear php-cli" |
pascal@1921 | 14 |
pascal@1921 | 15 # Rules to configure and make the package. |
pascal@1921 | 16 compile_rules() |
pascal@1921 | 17 { |
pascal@1921 | 18 cd $src |
pascal@1921 | 19 mkdir -p _pkg/usr/share/php |
pascal@1921 | 20 pear install --offline --installroot=$PWD/_pkg $SOURCES_REPOSITORY/$TARBALL |
pascal@1921 | 21 } |
pascal@1921 | 22 |
pascal@1921 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1921 | 24 genpkg_rules() |
pascal@1921 | 25 { |
pascal@1921 | 26 cp -a $_pkg/usr $fs |
pascal@1921 | 27 rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.* |
pascal@1921 | 28 rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l* |
pascal@1921 | 29 rm -rf $fs/usr/share/php/.dep* |
pascal@1921 | 30 } |
pascal@1921 | 31 |