wok rev 3646

Upgrade: pam (1.0.3 to 1.1.0)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Jul 06 16:53:05 2009 +0000 (2009-07-06)
parents 055b57b92161
children 74dedc4cebdf
files pam-dev/receipt pam/receipt
line diff
     1.1 --- a/pam-dev/receipt	Mon Jul 06 16:50:15 2009 +0000
     1.2 +++ b/pam-dev/receipt	Mon Jul 06 16:53:05 2009 +0000
     1.3 @@ -1,19 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="pam-dev"
     1.7 -VERSION="1.0.3"
     1.8 +VERSION="1.1.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Pluggable Authentication Modules, development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  WANTED="pam"
    1.13 +SOURCE="Linux-PAM"
    1.14  WEB_SITE="http://www.us.kernel.org/pub/linux/libs/pam/"
    1.15  
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 +	# tazwok does not define _pkg correctly when both WANTED and SOURCE are set
    1.20 +	_pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg
    1.21 +
    1.22  	mkdir -p $fs/lib $fs/usr
    1.23  	cp -a $_pkg/usr/include $fs/usr
    1.24  	ln -s security $fs/usr/include/pam
    1.25 -	cp -a $_pkg/lib/*a $fs/lib
    1.26 +	cp -a $_pkg/lib/*.*a $fs/lib
    1.27  	cp -a $_pkg/lib/security/*a $fs/lib
    1.28  }
     2.1 --- a/pam/receipt	Mon Jul 06 16:50:15 2009 +0000
     2.2 +++ b/pam/receipt	Mon Jul 06 16:53:05 2009 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="pam"
     2.7 -VERSION="1.0.3"
     2.8 +VERSION="1.1.0"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Pluggable Authentication Modules."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -9,15 +9,16 @@
    2.13  TARBALL="$SOURCE-$VERSION.tar.bz2"
    2.14  WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/"
    2.15  WGET_URL="${WEB_SITE}library/$TARBALL"
    2.16 -DEPENDS="libdb"
    2.17 +DEPENDS="glibc-base libdb"
    2.18 +BUILD_DEPENDS="bison m4 flex db-dev"
    2.19  
    2.20  # Rules to configure and make the package.
    2.21  compile_rules()
    2.22  {
    2.23 +#	mv $SOURCE-$VERSION $PACKAGE-$VERSION
    2.24  	cd $src
    2.25 -	ln -s $SOURCE-$VERSION ../$PACKAGE-$VERSION
    2.26  	./configure --prefix=/usr --infodir=/usr/share/info \
    2.27 -	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.28 +		--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.29  	make &&
    2.30  	make DESTDIR=$PWD/_pkg install
    2.31  }