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

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (24 months ago)
parents ede1d184d5c5
children 7364ffdaaa60
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://github.com/cyrusimap/cyrus-sasl/archive/$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 }