wok view php-auth-sasl/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents 563eb06bdb4a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="php-auth-sasl"
4 VERSION="1.1.0"
5 CATEGORY="development"
6 SHORT_DESC="Abstraction of various SASL mechanism responses for php."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://pear.php.net/"
11 SOURCE="Auth_SASL"
12 TARBALL="$SOURCE-$VERSION.tgz"
13 WGET_URL="http://download.pear.php.net/package/$TARBALL"
15 DEPENDS="php-pear"
16 BUILD_DEPENDS="php-cli php-pear"
18 current_version()
19 {
20 wget -O - https://pear.php.net/package/Auth_SASL 2>/dev/null | \
21 sed '/released/!d;s|.*>\([0-9\.]*\)<.*|\1|'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir -p $DESTDIR/usr/share/php
28 tar czf $TARBALL $SOURCE-$VERSION package.xml
29 pear install --offline --installroot=$DESTDIR $TARBALL
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
37 rm -rf $fs/usr/share/php/.channels
38 rm -rf $fs/usr/share/php/.registry/.c*
39 rm -rf $fs/usr/share/php/.f*
40 rm -rf $fs/usr/share/php/.l*
41 rm -rf $fs/usr/share/php/.dep*
42 }