wok-6.x view pam/receipt @ rev 9186

Automated merge with http://hg.slitaz.org/wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 09 05:02:28 2011 +0100 (2011-03-09)
parents e06b8d6ac967
children 9ec9f97ceeb4
line source
1 # SliTaz package receipt.
3 PACKAGE="pam"
4 VERSION="1.1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Pluggable Authentication Modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Linux-PAM"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/"
11 WGET_URL="${WEB_SITE}library/$TARBALL"
12 DEPENDS="glibc-base libdb"
13 BUILD_DEPENDS="flex db"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --sysconfdir=/etc &&
20 make &&
21 make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/lib
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/var $fs
30 cp -a $_pkg/sbin $fs
31 cp -a $_pkg/lib/*so* $fs/lib
32 cp -a $_pkg/lib/security $fs/lib
33 rm -f $fs/lib/security/*.la
34 cp -a stuff/* $fs
35 }