wok view pam/receipt @ rev 11257

iron-linux: Cookutils uses wget -O $SRC/$TARBALL so we can change TARBALL to save source as TARBALL. This needs to be done for iron-linux cause other wise it will just find iron-linux.tar.gz and use the old version.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 07 11:21:08 2011 +0000 (2011-11-07)
parents ab076d8ad4c9
children ab5bfe22ed1d
line source
1 # SliTaz package receipt.
3 PACKAGE="pam"
4 VERSION="1.1.5"
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/pam/"
11 WGET_URL="https://fedorahosted.org/releases/l/i/linux-pam/$TARBALL"
13 DEPENDS="glibc-base libdb"
14 BUILD_DEPENDS="wget flex db db-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --sysconfdir=/etc $CONFIGURE_ARGS &&
21 make && 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 }