wok-next annotate php-auth-sasl/receipt @ rev 20884
Check Repology info from m* to python-babel
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jul 12 18:34:58 2018 +0300 (2018-07-12) |
parents | 51a1ebbda768 |
children | d5aab818505e |
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@15375 | 8 LICENSE="BSD" |
pascal@1921 | 9 WEB_SITE="http://pear.php.net/" |
al@20884 | 10 REPOLOGY="php:auth-sasl" |
al@20884 | 11 |
pascal@1921 | 12 SOURCE="Auth_SASL" |
pascal@1921 | 13 TARBALL="$SOURCE-$VERSION.tgz" |
pascal@1921 | 14 WGET_URL="http://download.pear.php.net/package/$TARBALL" |
pascal@15375 | 15 |
pascal@1921 | 16 DEPENDS="php-pear" |
pascal@1921 | 17 BUILD_DEPENDS="php-pear php-cli" |
pascal@1921 | 18 |
pascal@1921 | 19 # Rules to configure and make the package. |
pascal@1921 | 20 compile_rules() |
pascal@1921 | 21 { |
pascal@1921 | 22 cd $src |
pascal@9053 | 23 mkdir -p $DESTDIR/usr/share/php |
pascal@9091 | 24 tar czf $TARBALL $SOURCE-$VERSION package.xml |
pascal@9053 | 25 pear install --offline --installroot=$DESTDIR $TARBALL |
pascal@1921 | 26 } |
pascal@1921 | 27 |
pascal@1921 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1921 | 29 genpkg_rules() |
pascal@1921 | 30 { |
pascal@15375 | 31 cp -a $install/usr $fs |
pascal@9091 | 32 rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.c* |
pascal@1921 | 33 rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l* |
pascal@1921 | 34 rm -rf $fs/usr/share/php/.dep* |
pascal@1921 | 35 } |
pascal@1921 | 36 |