# HG changeset patch # User Matthew Sheets # Date 1246899185 0 # Node ID 62be5adc53affa9258e44a9afc7bc5e2d690bc58 # Parent 055b57b92161e8a82161122414c11ab670df652c Upgrade: pam (1.0.3 to 1.1.0) diff -r 055b57b92161 -r 62be5adc53af pam-dev/receipt --- a/pam-dev/receipt Mon Jul 06 16:50:15 2009 +0000 +++ b/pam-dev/receipt Mon Jul 06 16:53:05 2009 +0000 @@ -1,19 +1,23 @@ # SliTaz package receipt. PACKAGE="pam-dev" -VERSION="1.0.3" +VERSION="1.1.0" CATEGORY="development" SHORT_DESC="Pluggable Authentication Modules, development files." MAINTAINER="pascal.bellard@slitaz.org" WANTED="pam" +SOURCE="Linux-PAM" WEB_SITE="http://www.us.kernel.org/pub/linux/libs/pam/" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + # tazwok does not define _pkg correctly when both WANTED and SOURCE are set + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg + mkdir -p $fs/lib $fs/usr cp -a $_pkg/usr/include $fs/usr ln -s security $fs/usr/include/pam - cp -a $_pkg/lib/*a $fs/lib + cp -a $_pkg/lib/*.*a $fs/lib cp -a $_pkg/lib/security/*a $fs/lib } diff -r 055b57b92161 -r 62be5adc53af pam/receipt --- a/pam/receipt Mon Jul 06 16:50:15 2009 +0000 +++ b/pam/receipt Mon Jul 06 16:53:05 2009 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="pam" -VERSION="1.0.3" +VERSION="1.1.0" CATEGORY="system-tools" SHORT_DESC="Pluggable Authentication Modules." MAINTAINER="pascal.bellard@slitaz.org" @@ -9,15 +9,16 @@ TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/" WGET_URL="${WEB_SITE}library/$TARBALL" -DEPENDS="libdb" +DEPENDS="glibc-base libdb" +BUILD_DEPENDS="bison m4 flex db-dev" # Rules to configure and make the package. compile_rules() { +# mv $SOURCE-$VERSION $PACKAGE-$VERSION cd $src - ln -s $SOURCE-$VERSION ../$PACKAGE-$VERSION ./configure --prefix=/usr --infodir=/usr/share/info \ - --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && + --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install }