wok annotate libsasl-without-ldap/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents ede1d184d5c5
children 7364ffdaaa60
rev   line source
gokhlayeh@8165 1 # SliTaz package receipt.
gokhlayeh@8165 2
gokhlayeh@8165 3 PACKAGE="libsasl-without-ldap"
Hans-G?nter@21286 4 VERSION="2.1.27"
gokhlayeh@8165 5 CATEGORY="system-tools"
gokhlayeh@8165 6 SHORT_DESC="Cyrus Simple Authentication Service Layer (SASL) library."
gokhlayeh@8165 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15600 8 LICENSE="BSD"
pascal@23440 9 WEB_SITE="https://www.cyrusimap.org/sasl/"
Hans-G?nter@21286 10
gokhlayeh@8165 11 SOURCE="cyrus-sasl"
gokhlayeh@8165 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@24974 13 WGET_URL="https://github.com/cyrusimap/cyrus-sasl/archive/$TARBALL"
pascal@15600 14
gokhlayeh@8165 15 DEPENDS="db openssl"
gokhlayeh@8165 16 BUILD_DEPENDS="db-dev openssl-dev"
gokhlayeh@8165 17
pascal@24447 18 # What is the latest version available today?
pascal@24447 19 current_version()
pascal@24447 20 {
pascal@24447 21 wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
pascal@24447 22 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
pascal@24447 23 }
pascal@24447 24
gokhlayeh@8165 25 # Rules to configure and make the package.
gokhlayeh@8165 26 compile_rules()
gokhlayeh@8165 27 {
Hans-G?nter@21286 28 # patch -Np1 -i $stuff/0027_db5_support.patch
Hans-G?nter@21286 29
Hans-G?nter@21286 30 ./configure \
Hans-G?nter@21286 31 --prefix=/usr \
Hans-G?nter@21286 32 --infodir=/usr/share/info \
Hans-G?nter@21286 33 --without-pam \
Hans-G?nter@21286 34 --disable-anon \
Hans-G?nter@21286 35 --disable-cram \
Hans-G?nter@21286 36 --disable-digest \
Hans-G?nter@21286 37 --disable-gssapi \
Hans-G?nter@21286 38 --enable-login \
Hans-G?nter@21286 39 --disable-otp \
Hans-G?nter@21286 40 --enable-plain \
Hans-G?nter@21286 41 --mandir=/usr/share/man \
Hans-G?nter@21286 42 $CONFIGURE_ARGS &&
slaxemulator@8682 43 make -j1 &&
pascal@15600 44 make -j1 DESTDIR=$DESTDIR install
gokhlayeh@8165 45 }
gokhlayeh@8165 46
gokhlayeh@8165 47
gokhlayeh@8165 48 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@8165 49 genpkg_rules()
gokhlayeh@8165 50 {
pascal@15600 51 cp -a $install/* $fs
Hans-G?nter@21286 52 }