wok view pam/receipt @ rev 8230

imported patch cleanup/alsa-lib.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:51 2011 +0100 (2011-01-27)
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 }