# HG changeset patch # User Pascal Bellard # Date 1230503483 0 # Node ID 1414e5066ef3f51853098ea0b306fb8fcd87ec97 # Parent c0da9a6582990a9441b2925c21e18607372a6548 Add pam diff -r c0da9a658299 -r 1414e5066ef3 pam-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pam-dev/receipt Sun Dec 28 22:31:23 2008 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="pam-dev" +VERSION="1.0.3" +CATEGORY="development" +SHORT_DESC="Pluggable Authentication Modules, development files." +MAINTAINER="pascal.bellard@slitaz.org" +WANTED="pam" +WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/lib $fs/usr + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/lib/*a $fs/lib + cp -a $_pkg/lib/security/*a $fs/lib +} diff -r c0da9a658299 -r 1414e5066ef3 pam/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pam/receipt Sun Dec 28 22:31:23 2008 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="pam" +VERSION="1.0.3" +CATEGORY="system-tools" +SHORT_DESC="Pluggable Authentication Modules." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="Linux-PAM" +TARBALL="$SOURCE-$VERSION.tar.bz2" +WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/" +WGET_URL="${WEB_SITE}library/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ln -s $SOURCE-$VERSION ../$PACKAGE-$VERSION + ./configure --prefix=/usr --infodir=/usr/share/info \ + --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/lib + cp -a $_pkg/etc $fs + cp -a $_pkg/var $fs + cp -a $_pkg/sbin $fs + cp -a $_pkg/lib/*so* $fs/lib + cp -a $_pkg/lib/security $fs/lib + rm -f $fs/lib/security/*.la +}