wok-next annotate cyrus-sasl-pam/receipt @ rev 18060
Up mercurial (3.4)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat May 16 21:33:08 2015 +0200 (2015-05-16) |
parents | 2e44a54da5e9 |
children | 76b93e8c1608 |
rev | line source |
---|---|
pascal@2185 | 1 # SliTaz package receipt. |
pascal@2185 | 2 |
pascal@2185 | 3 PACKAGE="cyrus-sasl-pam" |
erjo@4753 | 4 VERSION="2.1.23" |
pascal@2185 | 5 CATEGORY="network" |
pascal@2185 | 6 SHORT_DESC="SASL authentication server using PAM." |
pascal@2185 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="BSD" |
pascal@2185 | 9 SOURCE="cyrus-sasl" |
pascal@2185 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@2185 | 11 WEB_SITE="http://cyrusimap.web.cmu.edu/" |
pascal@2185 | 12 WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL" |
pascal@15579 | 13 PROVIDE="cyrus-sasl:pam" |
pascal@15579 | 14 |
pascal@4999 | 15 DEPENDS="libldap openssl libdb pam libkrb5 libcomerr3" |
pascal@10612 | 16 BUILD_DEPENDS="openldap-dev pam pam-dev openssl-dev" |
pascal@2185 | 17 |
pascal@2185 | 18 # Rules to configure and make the package. |
pascal@2185 | 19 compile_rules() |
pascal@2185 | 20 { |
pascal@2185 | 21 cd $src |
pascal@2185 | 22 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2185 | 23 --with-ldap=/usr --with-pam=/usr --with-devrandom=/dev/urandom \ |
pascal@4274 | 24 --mandir=/usr/share/man $CONFIGURE_ARGS |
pascal@4274 | 25 sed -i 's/WITH_DES/WITH_DES 1/' config.h |
pascal@2185 | 26 make && |
pascal@15579 | 27 make -j1 DESTDIR=$DESTDIR install |
pascal@2185 | 28 } |
pascal@2185 | 29 |
pascal@2185 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2185 | 31 genpkg_rules() |
pascal@2185 | 32 { |
pascal@2185 | 33 mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd |
pascal@15579 | 34 cp -a $install/usr/sbin $fs/usr |
pascal@15579 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15579 | 36 cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 |
pascal@2287 | 37 cp -a ../$SOURCE/stuff/etc $fs |
pascal@2431 | 38 sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl |
pascal@2185 | 39 } |