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

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents 563eb06bdb4a
children
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@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - https://pear.php.net/package/Auth_SASL 2>/dev/null | \
pascal@24102 21 sed '/released/!d;s|.*>\([0-9\.]*\)<.*|\1|'
pascal@24102 22 }
pascal@24102 23
pascal@1921 24 # Rules to configure and make the package.
pascal@1921 25 compile_rules()
pascal@1921 26 {
pascal@9053 27 mkdir -p $DESTDIR/usr/share/php
pascal@9091 28 tar czf $TARBALL $SOURCE-$VERSION package.xml
pascal@9053 29 pear install --offline --installroot=$DESTDIR $TARBALL
pascal@1921 30 }
pascal@1921 31
pascal@1921 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1921 33 genpkg_rules()
pascal@1921 34 {
Hans-G?nter@23427 35 cp -a $install/usr $fs
Hans-G?nter@23427 36
Hans-G?nter@23427 37 rm -rf $fs/usr/share/php/.channels
Hans-G?nter@23427 38 rm -rf $fs/usr/share/php/.registry/.c*
Hans-G?nter@23427 39 rm -rf $fs/usr/share/php/.f*
Hans-G?nter@23427 40 rm -rf $fs/usr/share/php/.l*
Hans-G?nter@23427 41 rm -rf $fs/usr/share/php/.dep*
pascal@1921 42 }