wok-current annotate cyrus-sasl-pam/receipt @ rev 4149
Fix: xfce4 dependency looping
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Sep 20 16:13:53 2009 +0000 (2009-09-20) |
parents | b1cb87e36ed4 |
children | 8499519207e2 |
rev | line source |
---|---|
pascal@2185 | 1 # SliTaz package receipt. |
pascal@2185 | 2 |
pascal@2185 | 3 PACKAGE="cyrus-sasl-pam" |
pascal@2185 | 4 VERSION="2.1.22" |
pascal@2185 | 5 CATEGORY="network" |
pascal@2185 | 6 SHORT_DESC="SASL authentication server using PAM." |
pascal@2185 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@2185 | 8 SOURCE="cyrus-sasl" |
pascal@2185 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2185 | 10 WEB_SITE="http://cyrusimap.web.cmu.edu/" |
pascal@2185 | 11 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL" |
pascal@2433 | 12 DEPENDS="libldap openssl libdb pam" |
pascal@2185 | 13 BUILD_DEPENDS="openldap-dev pam pam-dev" |
pascal@2185 | 14 PROVIDE="cyrus-sasl:pam" |
pascal@2185 | 15 |
pascal@2185 | 16 # Rules to configure and make the package. |
pascal@2185 | 17 compile_rules() |
pascal@2185 | 18 { |
pascal@2185 | 19 cd $src |
pascal@2185 | 20 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2185 | 21 --with-ldap=/usr --with-pam=/usr --with-devrandom=/dev/urandom \ |
pascal@2185 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2185 | 23 make && |
pascal@2185 | 24 make DESTDIR=$PWD/_pkg install |
pascal@2185 | 25 } |
pascal@2185 | 26 |
pascal@2185 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2185 | 28 genpkg_rules() |
pascal@2185 | 29 { |
pascal@2185 | 30 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd |
pascal@2185 | 31 cp -a $_pkg/usr/sbin $fs/usr |
pascal@2185 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@2185 | 33 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 |
pascal@2287 | 34 cp -a ../$SOURCE/stuff/etc $fs |
pascal@2431 | 35 sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl |
pascal@2185 | 36 } |