wok view cyrus-sasl/receipt @ rev 9641

Fixed rhino, ecj, and xalan-xerces-j depends. Putting java-jre for depends was a bad idea since these packages are build depends for icedtea6-jdk. java-jre is a wanted package for icetea6-jdk. This was causing a depend loop.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Apr 27 16:22:35 2011 +0000 (2011-04-27)
parents 39011a13b555
children a1644dbcf632
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 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
34 cp -a stuff/etc $fs
36 cat $WOK/$PACKAGE/stuff/*.files-list | while read file; do
37 rm -rf $fs$file
38 done
39 }