SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "php-auth-sasl"

# 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*
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)