SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "pam_ldap"

# SliTaz package receipt.

PACKAGE="pam_ldap"
VERSION="186"
CATEGORY="system-tools"
SHORT_DESC="Get and update authenticate from LDAP."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
#WEB_SITE="https://www.padl.com/OSS/pam_ldap.html"
WEB_SITE="https://github.com/PADL/pam_ldap"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://fossies.org/linux/privat/old/$TARBALL"

BUILD_DEPENDS="libldap openldap-dev pam-dev perl"
DEPENDS="cyrus-sasl libcomerr3 libldap nss_ldap openssl pam"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
}

# Rules to configure and make the package.
compile_rules()
{
    ./vers_string -v
    ./configure                \
        --prefix=/usr            \
        --infodir=/usr/share/info    \
        --sysconfdir=/etc        \
        --mandir=/usr/share/man        \
        $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr/lib    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)