wok-6.x diff cyrus-sasl-pam/receipt @ rev 17120

Up moc (2.5.0)
author Paul Issott <paul@slitaz.org>
date Thu Sep 04 23:36:22 2014 +0100 (2014-09-04)
parents 2e44a54da5e9
children 9bd5e01b7427
line diff
     1.1 --- a/cyrus-sasl-pam/receipt	Thu May 26 17:55:41 2011 +0200
     1.2 +++ b/cyrus-sasl-pam/receipt	Thu Sep 04 23:36:22 2014 +0100
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="network"
     1.5  SHORT_DESC="SASL authentication server using PAM."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="BSD"
     1.8  SOURCE="cyrus-sasl"
     1.9  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://cyrusimap.web.cmu.edu/"
    1.11  WGET_URL="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$TARBALL"
    1.12 +PROVIDE="cyrus-sasl:pam"
    1.13 +
    1.14  DEPENDS="libldap openssl libdb pam libkrb5 libcomerr3"
    1.15  BUILD_DEPENDS="openldap-dev pam pam-dev openssl-dev"
    1.16 -PROVIDE="cyrus-sasl:pam"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -22,16 +24,16 @@
    1.21  	--mandir=/usr/share/man $CONFIGURE_ARGS
    1.22  	sed -i 's/WITH_DES/WITH_DES 1/' config.h
    1.23  	make &&
    1.24 -	make -j1 DESTDIR=$PWD/_pkg install
    1.25 +	make -j1 DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/lib/sasl2 $fs/var/state/saslauthd
    1.32 -	cp -a $_pkg/usr/sbin $fs/usr
    1.33 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34 -	cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
    1.35 +	cp -a $install/usr/sbin $fs/usr
    1.36 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.37 +	cp -a $install/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2
    1.38  	cp -a ../$SOURCE/stuff/etc $fs
    1.39  	sed -i 's/shadow/pam/' $fs/etc/init.d/cyrus-sasl
    1.40  }