wok view php-auth-sasl/receipt @ rev 9069

squirrelmail-smallcal: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 14:43:55 2011 +0100 (2011-03-04)
parents 35ec97ae4c23
children b652293e5fe0
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
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/.*
29 rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l*
30 rm -rf $fs/usr/share/php/.dep*
31 }