SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libsasl-without-ldap"

# SliTaz package receipt.

PACKAGE="libsasl-without-ldap"
VERSION="2.1.28"
CATEGORY="system-tools"
SHORT_DESC="Cyrus Simple Authentication Service Layer (SASL) library."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://www.cyrusimap.org/sasl/"

SOURCE="cyrus-sasl"
TARBALL="$SOURCE-$VERSION.tar.gz"
WGET_URL="https://github.com/cyrusimap/cyrus-sasl/archive/$TARBALL"

DEPENDS="db openssl"
BUILD_DEPENDS="autoconf automake m4 libtool groff db-dev openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
#    patch -Np1 -i $stuff/0027_db5_support.patch

    ./autogen.sh

    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --without-pam            \
        --disable-anon            \
        --disable-cram            \
        --disable-digest        \
        --disable-gssapi        \
        --enable-login            \
        --disable-otp            \
        --enable-plain            \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make -j1 &&
    make -j1 DESTDIR=$DESTDIR install
}


# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs

        # Ensure remove .la files
        find $fs -name "*.la" -delete
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)