wok view php-auth-sasl/receipt @ rev 15146
cocoalib: create Makefile_dependencies (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 12:56:59 2013 +0000 (2013-08-15) |
parents | dcca3982e806 |
children | 51a1ebbda768 |
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 }