wok-6.x view cyrus-sasl-pam/receipt @ rev 9034
Fixed gtkperf. It needs DESTDIR=DESTDIR in order to work.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 03 17:27:09 2011 +0000 (2011-03-03) |
parents | 39011a13b555 |
children | 2e44a54da5e9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cyrus-sasl-pam"
4 VERSION="2.1.23"
5 CATEGORY="network"
6 SHORT_DESC="SASL authentication server using PAM."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="cyrus-sasl"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://cyrusimap.web.cmu.edu/"
11 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
12 DEPENDS="libldap openssl libdb pam libkrb5 libcomerr3"
13 BUILD_DEPENDS="openldap-dev pam pam-dev"
14 PROVIDE="cyrus-sasl:pam"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --with-ldap=/usr --with-pam=/usr --with-devrandom=/dev/urandom \
22 --mandir=/usr/share/man $CONFIGURE_ARGS
23 sed -i 's/WITH_DES/WITH_DES 1/' config.h
24 make &&
25 make -j1 DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
35 cp -a ../$SOURCE/stuff/etc $fs
36 sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl
37 }