wok view pam/receipt @ rev 2288

Samba: improve start script
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 21 21:50:42 2009 +0000 (2009-02-21)
parents 1414e5066ef3
children a4af2b62bb67
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ln -s $SOURCE-$VERSION ../$PACKAGE-$VERSION
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg 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 }