wok view libsasl-without-ldap/receipt @ rev 24497

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