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

php-auth-sasl: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:29:26 2011 +0100 (2011-03-04)
parents 35ec97ae4c23
children b652293e5fe0
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@9053 20 tar czf $TARBALL $SOURCE-$VERSION
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@1921 28 rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.*
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