wok annotate php-auth-sasl/receipt @ rev 20050

xautolock: add deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 01 12:54:10 2017 +0200 (2017-09-01)
parents b652293e5fe0
children 1daf24fb0842
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/"
pascal@1921 10 SOURCE="Auth_SASL"
pascal@1921 11 TARBALL="$SOURCE-$VERSION.tgz"
pascal@1921 12 WGET_URL="http://download.pear.php.net/package/$TARBALL"
pascal@15375 13
pascal@1921 14 DEPENDS="php-pear"
pascal@1921 15 BUILD_DEPENDS="php-pear php-cli"
pascal@1921 16
pascal@1921 17 # Rules to configure and make the package.
pascal@1921 18 compile_rules()
pascal@1921 19 {
pascal@1921 20 cd $src
pascal@9053 21 mkdir -p $DESTDIR/usr/share/php
pascal@9091 22 tar czf $TARBALL $SOURCE-$VERSION package.xml
pascal@9053 23 pear install --offline --installroot=$DESTDIR $TARBALL
pascal@1921 24 }
pascal@1921 25
pascal@1921 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1921 27 genpkg_rules()
pascal@1921 28 {
pascal@15375 29 cp -a $install/usr $fs
pascal@9091 30 rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.c*
pascal@1921 31 rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l*
pascal@1921 32 rm -rf $fs/usr/share/php/.dep*
pascal@1921 33 }
pascal@1921 34