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

singularity: patch and path change
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Oct 26 13:14:13 2010 +0200 (2010-10-26)
parents
children 35ec97ae4c23
rev   line source
pascal@1921 1 # SliTaz package receipt.
pascal@1921 2
pascal@1921 3 PACKAGE="php-auth-sasl"
pascal@1921 4 VERSION="1.0.2"
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