wok-6.x view cyrus-sasl/receipt @ rev 3185
Up: gcc (4.4.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 26 17:19:42 2009 +0200 (2009-05-26) |
parents | 74b05c130986 |
children | f0af3c539b04 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.22"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://cyrusimap.web.cmu.edu/"
10 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
11 DEPENDS="libldap openssl libdb"
12 BUILD_DEPENDS="openldap-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --with-ldap=/usr --without-pam --with-devrandom=/dev/urandom \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
32 cp -a stuff/etc $fs
33 for i in $(cd $WOK; ls -d cyrus-sasl-*)
34 do
35 tazwok cook $i
36 done
37 }