wok-backports annotate php-auth-sasl/receipt @ rev 33

Add: php modules
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Jun 02 00:34:56 2014 +0200 (2014-06-02)
parents
children
rev   line source
erjo@33 1 # SliTaz package receipt.
erjo@33 2
erjo@33 3 PACKAGE="php-auth-sasl"
erjo@33 4 VERSION="1.0.4"
erjo@33 5 CATEGORY="development"
erjo@33 6 SHORT_DESC="Abstraction of various SASL mechanism responses for php."
erjo@33 7 MAINTAINER="pascal.bellard@slitaz.org"
erjo@33 8 LICENSE="BSD"
erjo@33 9 WEB_SITE="http://pear.php.net/"
erjo@33 10 SOURCE="Auth_SASL"
erjo@33 11 TARBALL="$SOURCE-$VERSION.tgz"
erjo@33 12 WGET_URL="http://download.pear.php.net/package/$TARBALL"
erjo@33 13
erjo@33 14 DEPENDS="php-pear"
erjo@33 15 BUILD_DEPENDS="php-pear php-cli"
erjo@33 16
erjo@33 17 # Rules to configure and make the package.
erjo@33 18 compile_rules()
erjo@33 19 {
erjo@33 20 cd $src
erjo@33 21 mkdir -p $DESTDIR/usr/share/php
erjo@33 22 tar czf $TARBALL $SOURCE-$VERSION package.xml
erjo@33 23 pear install --offline --installroot=$DESTDIR $TARBALL
erjo@33 24 }
erjo@33 25
erjo@33 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@33 27 genpkg_rules()
erjo@33 28 {
erjo@33 29 cp -a $install/usr $fs
erjo@33 30 rm -rf $fs/usr/share/php/.channels $fs/usr/share/php/.registry/.c*
erjo@33 31 rm -rf $fs/usr/share/php/.f* $fs/usr/share/php/.l*
erjo@33 32 rm -rf $fs/usr/share/php/.dep*
erjo@33 33 }
erjo@33 34