wok view cyrus-sasl/receipt @ rev 4498
gtkmm-dev: add DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Nov 20 20:43:27 2009 +0100 (2009-11-20) |
parents | a4af2b62bb67 |
children | adc267450fe2 |
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 sed -i 's/WITH_DES/WITH_DES 1/' config.h
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
33 cp -a stuff/etc $fs
34 for i in $(cd $WOK; ls -d cyrus-sasl-*)
35 do
36 tazwok cook $i
37 done
38 }