wok-next annotate cyrus-sasl/receipt @ rev 5095
Up: xorg-xf86-video-intel; update DEPENDS
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Mar 15 18:17:01 2010 +0000 (2010-03-15) |
parents | 734283599021 |
children | c65229ae4803 |
rev | line source |
---|---|
pascal@1205 | 1 # SliTaz package receipt. |
pascal@1205 | 2 |
pascal@1205 | 3 PACKAGE="cyrus-sasl" |
erjo@4753 | 4 VERSION="2.1.23" |
pascal@1205 | 5 CATEGORY="network" |
pascal@1205 | 6 SHORT_DESC="SASL authentication server." |
pascal@1205 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1205 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2086 | 9 WEB_SITE="http://cyrusimap.web.cmu.edu/" |
pascal@1205 | 10 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL" |
pascal@4999 | 11 DEPENDS="libldap openssl libdb libsasl libsasl-modules libkrb5 libcomerr3" |
erjo@4784 | 12 BUILD_DEPENDS="openldap-dev db-dev" |
pascal@1205 | 13 |
pascal@1205 | 14 # Rules to configure and make the package. |
pascal@1205 | 15 compile_rules() |
pascal@1205 | 16 { |
pascal@1205 | 17 cd $src |
pascal@1205 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2185 | 19 --with-ldap=/usr --without-pam --with-devrandom=/dev/urandom \ |
erjo@4784 | 20 --with-openssl=/usr \ |
pascal@4273 | 21 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@4273 | 22 sed -i 's/WITH_DES/WITH_DES 1/' config.h |
pascal@2433 | 23 make && |
pascal@1205 | 24 make DESTDIR=$PWD/_pkg install |
pascal@1205 | 25 } |
pascal@1205 | 26 |
pascal@1205 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1205 | 28 genpkg_rules() |
pascal@1205 | 29 { |
erjo@4784 | 30 cp stuff/*.files-list $src |
pascal@1205 | 31 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd |
pascal@1205 | 32 cp -a $_pkg/usr/sbin $fs/usr |
pascal@1205 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1205 | 34 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 |
pascal@1205 | 35 cp -a stuff/etc $fs |
erjo@4784 | 36 |
erjo@4784 | 37 cat $src/*.files-list | while read file; do |
erjo@4784 | 38 rm -rf $fs$file |
erjo@4784 | 39 done |
erjo@4784 | 40 |
erjo@4784 | 41 for i in $(cd $WOK; ls -d cyrus-sasl-* libsasl*) |
pascal@1205 | 42 do |
pascal@1205 | 43 tazwok cook $i |
pascal@1205 | 44 done |
pascal@1205 | 45 } |