wok-current view php-auth-sasl/receipt @ rev 5025
midori: improve receipt and deps (under 5MB!! now)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Mar 02 10:45:18 2010 +0000 (2010-03-02) |
parents | |
children | 35ec97ae4c23 |
line source
1 # SliTaz package receipt.
3 PACKAGE="php-auth-sasl"
4 VERSION="1.0.2"
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 _pkg/usr/share/php
20 pear install --offline --installroot=$PWD/_pkg $SOURCES_REPOSITORY/$TARBALL
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.*
28 rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l*
29 rm -rf $fs/usr/share/php/.dep*
30 }