wok-current view pam/receipt @ rev 4352
db: enable comat185 (thanks allan)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 03 20:24:26 2009 +0200 (2009-10-03) |
parents | a4af2b62bb67 |
children | e06b8d6ac967 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pam"
4 VERSION="1.1.0"
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="bison m4 flex db-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # mv $SOURCE-$VERSION $PACKAGE-$VERSION
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/lib
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/var $fs
32 cp -a $_pkg/sbin $fs
33 cp -a $_pkg/lib/*so* $fs/lib
34 cp -a $_pkg/lib/security $fs/lib
35 rm -f $fs/lib/security/*.la
36 cp -a stuff/* $fs
37 }