wok-next annotate php-auth-sasl/receipt @ rev 15026

sylpheed: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 22:07:47 2013 +0000 (2013-08-11)
parents dcca3982e806
children 51a1ebbda768
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@9053 19 mkdir -p $DESTDIR/usr/share/php
pascal@9091 20 tar czf $TARBALL $SOURCE-$VERSION package.xml
pascal@9053 21 pear install --offline --installroot=$DESTDIR $TARBALL
pascal@1921 22 }
pascal@1921 23
pascal@1921 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1921 25 genpkg_rules()
pascal@1921 26 {
pascal@1921 27 cp -a $_pkg/usr $fs
pascal@9091 28 rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.c*
pascal@1921 29 rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l*
pascal@1921 30 rm -rf $fs/usr/share/php/.dep*
pascal@1921 31 }
pascal@1921 32