wok view pam/receipt @ rev 7171

Up: mpd to 0.15.14.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 07 20:05:57 2010 +0000 (2010-11-07)
parents 62be5adc53af
children 9e0fcd6eded3
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="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 }