wok annotate php-auth-sasl/receipt @ rev 23921

Up slitaz-tools (1036), tazinst (105), tazusb (209)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 21 15:07:47 2020 +0000 (2020-08-21)
parents 1daf24fb0842
children 15650f5d595b
rev   line source
pascal@1921 1 # SliTaz package receipt.
pascal@1921 2
pascal@1921 3 PACKAGE="php-auth-sasl"
Hans-G?nter@23427 4 VERSION="1.1.0"
pascal@1921 5 CATEGORY="development"
pascal@1921 6 SHORT_DESC="Abstraction of various SASL mechanism responses for php."
pascal@1921 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 8 LICENSE="BSD"
pascal@21124 9 WEB_SITE="https://pear.php.net/"
Hans-G?nter@23427 10
pascal@1921 11 SOURCE="Auth_SASL"
pascal@1921 12 TARBALL="$SOURCE-$VERSION.tgz"
pascal@1921 13 WGET_URL="http://download.pear.php.net/package/$TARBALL"
pascal@15375 14
pascal@1921 15 DEPENDS="php-pear"
Hans-G?nter@23427 16 BUILD_DEPENDS="php-cli php-pear"
pascal@1921 17
pascal@1921 18 # Rules to configure and make the package.
pascal@1921 19 compile_rules()
pascal@1921 20 {
pascal@9053 21 mkdir -p $DESTDIR/usr/share/php
pascal@9091 22 tar czf $TARBALL $SOURCE-$VERSION package.xml
pascal@9053 23 pear install --offline --installroot=$DESTDIR $TARBALL
pascal@1921 24 }
pascal@1921 25
pascal@1921 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1921 27 genpkg_rules()
pascal@1921 28 {
Hans-G?nter@23427 29 cp -a $install/usr $fs
Hans-G?nter@23427 30
Hans-G?nter@23427 31 rm -rf $fs/usr/share/php/.channels
Hans-G?nter@23427 32 rm -rf $fs/usr/share/php/.registry/.c*
Hans-G?nter@23427 33 rm -rf $fs/usr/share/php/.f*
Hans-G?nter@23427 34 rm -rf $fs/usr/share/php/.l*
Hans-G?nter@23427 35 rm -rf $fs/usr/share/php/.dep*
pascal@1921 36 }