wok-6.x view cyrus-sasl/receipt @ rev 24611

updated libgd and libgd-dev (2.0.35 -> 2.3.3)
author Hans-G?nter Theisgen
date Fri Mar 04 09:32:37 2022 +0100 (2022-03-04)
parents a1821e12e28a
children 94dd3813f40d
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.27"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
10 WEB_SITE="https://www.cyrusimap.org/sasl"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://www.cyrusimap.org/releases/$PACKAGE-$VERSION.tar.gz"
15 DEPENDS="libcomerr3 libdb libldap libsasl libsasl-modules openssl"
16 BUILD_DEPENDS="db-dev openldap-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 --with-ldap=/usr \
32 --with-openssl=/usr \
33 --without-pam \
34 --with-devrandom=/dev/urandom \
35 $CONFIGURE_ARGS
36 sed -i 's/WITH_DES/WITH_DES 1/' config.h
37 make -j 1 &&
38 make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/sasl2
45 mkdir -p $fs/var/state/saslauthd
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
50 cp -a $stuff/etc $fs
52 cat $stuff/*.files-list | while read file; do
53 rm -rf $fs$file
54 done
55 }