# SliTaz package receipt. PACKAGE="php-auth-sasl" VERSION="1.1.0" CATEGORY="development" SHORT_DESC="Abstraction of various SASL mechanism responses for php." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="https://pear.php.net/" SOURCE="Auth_SASL" TARBALL="$SOURCE-$VERSION.tgz" WGET_URL="http://download.pear.php.net/package/$TARBALL" DEPENDS="php-pear" BUILD_DEPENDS="php-cli php-pear" current_version() { wget -O - https://pear.php.net/package/Auth_SASL 2>/dev/null | \ sed '/released/!d;s|.*>\([0-9\.]*\)<.*|\1|' } # Rules to configure and make the package. compile_rules() { mkdir -p $DESTDIR/usr/share/php tar czf $TARBALL $SOURCE-$VERSION package.xml pear install --offline --installroot=$DESTDIR $TARBALL } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs rm -rf $fs/usr/share/php/.channels rm -rf $fs/usr/share/php/.registry/.c* rm -rf $fs/usr/share/php/.f* rm -rf $fs/usr/share/php/.l* rm -rf $fs/usr/share/php/.dep* }