wok-next view pam/receipt @ rev 3482

Update: gcc+gcj
author Matthew Sheets <rcx@zoominternet.net>
date Wed Jun 17 10:21:48 2009 +0000 (2009-06-17)
parents 8f9353288f5b
children 62be5adc53af
line source
1 # SliTaz package receipt.
3 PACKAGE="pam"
4 VERSION="1.0.3"
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="libdb"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ln -s $SOURCE-$VERSION ../$PACKAGE-$VERSION
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/lib
29 cp -a $_pkg/etc $fs
30 cp -a $_pkg/var $fs
31 cp -a $_pkg/sbin $fs
32 cp -a $_pkg/lib/*so* $fs/lib
33 cp -a $_pkg/lib/security $fs/lib
34 rm -f $fs/lib/security/*.la
35 cp -a stuff/* $fs
36 }