wok view cyrus-sasl/receipt @ rev 7622
caps: fix category
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 12 17:18:00 2010 +0000 (2010-12-12) |
parents | 734283599021 |
children | c65229ae4803 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl"
4 VERSION="2.1.23"
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 libsasl libsasl-modules libkrb5 libcomerr3"
12 BUILD_DEPENDS="openldap-dev db-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 --with-openssl=/usr \
21 --mandir=/usr/share/man $CONFIGURE_ARGS
22 sed -i 's/WITH_DES/WITH_DES 1/' config.h
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp stuff/*.files-list $src
31 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
35 cp -a stuff/etc $fs
37 cat $src/*.files-list | while read file; do
38 rm -rf $fs$file
39 done
41 for i in $(cd $WOK; ls -d cyrus-sasl-* libsasl*)
42 do
43 tazwok cook $i
44 done
45 }