wok rev 10004

sudo-pam: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 01:49:14 2011 +0200 (2011-05-19)
parents b2262bca4b49
children 772609e25b8c
files sudo-pam/receipt
line diff
     1.1 --- a/sudo-pam/receipt	Thu May 19 01:37:43 2011 +0200
     1.2 +++ b/sudo-pam/receipt	Thu May 19 01:49:14 2011 +0200
     1.3 @@ -5,25 +5,25 @@
     1.4  CATEGORY="security"
     1.5  SHORT_DESC="Sudo (su \"do\") allows a system administrator to delegate authority using PAM."
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="pam"
     1.8  SOURCE="sudo"
     1.9  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.gratisoft.us/sudo/"
    1.11  WGET_URL="http://www.gratisoft.us/sudo/dist/$TARBALL"
    1.12  PROVIDE="sudo:pam"
    1.13  
    1.14 +DEPENDS="pam"
    1.15 +BUILD_DEPENDS="pam-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -	./configure --sysconfdir=/etc \
    1.22 -	--with-pam \
    1.23 -	--with-editor=/bin/vi \
    1.24 -	--libexecdir=/usr/lib &&
    1.25 -	# Build everything
    1.26 -	make &&
    1.27 -	# Install everything
    1.28 -	make install
    1.29 +	./configure \
    1.30 +		--sysconfdir=/etc \
    1.31 +		--with-pam \
    1.32 +		--with-editor=/bin/vi \
    1.33 +		--libexecdir=/usr/lib &&
    1.34 +	make && make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.