wok-4.x view cyrus-sasl/receipt @ rev 1674
Add perl-net-ldap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:57:57 2008 +0000 (2008-11-08) |
parents | |
children | aa0dad286215 |
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"
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 --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 }