wok-current view php-auth-sasl/receipt @ rev 25319

updated speex and speex-dev (1.2.0 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Jul 22 07:04:55 2022 +0100 (2022-07-22)
parents 563eb06bdb4a
children 5926178cd6fa
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 }