wok view pam/receipt @ rev 18683

Add ipkungfu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 09 21:51:05 2015 +0100 (2015-12-09)
parents d3446b644489
children 591601409a8e
line source
1 # SliTaz package receipt.
3 PACKAGE="pam"
4 VERSION="1.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Pluggable Authentication Modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL2"
9 SOURCE="Linux-PAM"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.us.kernel.org/pub/linux/libs/pam/"
12 WGET_URL="http://gentoo.osuosl.org/distfiles/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glibc-base libdb"
16 BUILD_DEPENDS="flex db-dev libdb"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/lib
30 cp -a $install/etc $fs
31 cp -a $install/sbin $fs
32 cp -a $install/lib/*so* $fs/lib
33 cp -a $install/lib/security $fs/lib
34 rm -f $fs/lib/security/*.la
35 cp -a $stuff/* $fs
36 }
38 pre_remove()
39 {
40 # If busybox-pam is installed, trigger its removal right now. Once pam shared
41 # library will be removed, it will be too late. Don't worry about this, while
42 # removing busybox-pam will replace itself by a non-pam busybox.
43 if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then
44 tazpkg remove busybox-pam --auto
45 fi
46 }