wok view cyrus-sasl-pam/receipt @ rev 18243

Up tazpanel (513)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 29 17:08:39 2015 +0200 (2015-07-29)
parents 2e44a54da5e9
children 9bd5e01b7427
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl-pam"
4 VERSION="2.1.23"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="cyrus-sasl"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://cyrusimap.web.cmu.edu/"
12 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
13 PROVIDE="cyrus-sasl:pam"
15 DEPENDS="libldap openssl libdb pam libkrb5 libcomerr3"
16 BUILD_DEPENDS="openldap-dev pam pam-dev openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --with-ldap=/usr --with-pam=/usr --with-devrandom=/dev/urandom \
24 --mandir=/usr/share/man $CONFIGURE_ARGS
25 sed -i 's/WITH_DES/WITH_DES 1/' config.h
26 make &&
27 make -j1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
37 cp -a ../$SOURCE/stuff/etc $fs
38 sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl
39 }