wok-current view cyrus-sasl/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents a23978bfa665
children
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.28"
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://github.com/cyrusimap/cyrus-sasl/archive/$TARBALL"
15 DEPENDS="libcomerr3 libdb libldap libsasl libsasl-modules openssl"
16 BUILD_DEPENDS="automake autoconf m4 libtool groff db-dev \
17 openldap-dev openssl-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/cyrusimap/cyrus-sasl/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 # patch -Np1 -i $stuff/0027_db5_support.patch
31 ./autogen.sh
33 ./configure \
34 --with-ldap=/usr \
35 --with-openssl=/usr \
36 --without-pam \
37 --with-devrandom=/dev/urandom \
38 $CONFIGURE_ARGS
39 sed -i 's/WITH_DES/WITH_DES 1/' config.h
40 make -j 1 &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib/sasl2
48 mkdir -p $fs/var/state/saslauthd
50 cp -a $install/usr/sbin $fs/usr
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
53 cp -a $stuff/etc $fs
55 cat $stuff/*.files-list | while read file; do
56 rm -rf $fs$file
57 done
58 }