wok-6.x view pam/receipt @ rev 10599
parole: fix bdeps and clean
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 15:26:37 2011 +0200 (2011-05-26) |
parents | 9e0fcd6eded3 |
children | ab076d8ad4c9 |
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"
13 DEPENDS="glibc-base libdb"
14 BUILD_DEPENDS="flex db db-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --sysconfdir=/etc &&
21 make && 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 }