wok-4.x view php-auth-sasl/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | dcca3982e806 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="php-auth-sasl"
4 VERSION="1.0.4"
5 CATEGORY="development"
6 SHORT_DESC="Abstraction of various SASL mechanism responses for php."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://pear.php.net/"
9 SOURCE="Auth_SASL"
10 TARBALL="$SOURCE-$VERSION.tgz"
11 WGET_URL="http://download.pear.php.net/package/$TARBALL"
12 DEPENDS="php-pear"
13 BUILD_DEPENDS="php-pear php-cli"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p $DESTDIR/usr/share/php
20 tar czf $TARBALL $SOURCE-$VERSION package.xml
21 pear install --offline --installroot=$DESTDIR $TARBALL
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $_pkg/usr $fs
28 rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.c*
29 rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l*
30 rm -rf $fs/usr/share/php/.dep*
31 }