wok-stable diff cyrus-sasl-pam/receipt @ rev 2185
Add cyrus-sasl-pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 09 09:39:53 2009 +0000 (2009-02-09) |
parents | |
children | 22ab8eb50d81 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cyrus-sasl-pam/receipt Mon Feb 09 09:39:53 2009 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cyrus-sasl-pam" 1.7 +VERSION="2.1.22" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="SASL authentication server using PAM." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +SOURCE="cyrus-sasl" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://cyrusimap.web.cmu.edu/" 1.14 +WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL" 1.15 +DEPENDS="libldap pam" 1.16 +BUILD_DEPENDS="openldap-dev pam pam-dev" 1.17 +PROVIDE="cyrus-sasl:pam" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 + --with-ldap=/usr --with-pam=/usr --with-devrandom=/dev/urandom \ 1.25 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.26 + make && 1.27 + make DESTDIR=$PWD/_pkg install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd 1.34 + cp -a $_pkg/usr/sbin $fs/usr 1.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.36 + cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 1.37 + cp -a stuff/etc $fs 1.38 +}