wok-6.x rev 1948
Add pam
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 28 22:31:23 2008 +0000 (2008-12-28) |
parents | c0da9a658299 |
children | 5555a96d536b |
files | pam-dev/receipt pam/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pam-dev/receipt Sun Dec 28 22:31:23 2008 +0000 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pam-dev" 1.7 +VERSION="1.0.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Pluggable Authentication Modules, development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WANTED="pam" 1.12 +WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/lib $fs/usr 1.18 + cp -a $_pkg/usr/include $fs/usr 1.19 + cp -a $_pkg/lib/*a $fs/lib 1.20 + cp -a $_pkg/lib/security/*a $fs/lib 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/pam/receipt Sun Dec 28 22:31:23 2008 +0000 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="pam" 2.7 +VERSION="1.0.3" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Pluggable Authentication Modules." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +SOURCE="Linux-PAM" 2.12 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.13 +WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/" 2.14 +WGET_URL="${WEB_SITE}library/$TARBALL" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $src 2.20 + ln -s $SOURCE-$VERSION ../$PACKAGE-$VERSION 2.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 2.22 + --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && 2.23 + make && 2.24 + make DESTDIR=$PWD/_pkg install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/lib 2.31 + cp -a $_pkg/etc $fs 2.32 + cp -a $_pkg/var $fs 2.33 + cp -a $_pkg/sbin $fs 2.34 + cp -a $_pkg/lib/*so* $fs/lib 2.35 + cp -a $_pkg/lib/security $fs/lib 2.36 + rm -f $fs/lib/security/*.la 2.37 +}