wok-current view pam/receipt @ rev 22474
Remove fastthread
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 27 22:10:40 2019 +0100 (2019-12-27) |
parents | 591601409a8e |
children | 241fb98cab1c |
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.linux-pam.org/"
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 sed -i 's|(uname -m)|(echo i686)|;s|`uname -m`|`echo i686`|' \
22 configure build-aux/config.guess
23 ./configure --sysconfdir=/etc \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/lib
32 cp -a $install/etc $fs
33 cp -a $install/sbin $fs
34 cp -a $install/lib/*so* $fs/lib
35 cp -a $install/lib/security $fs/lib
36 rm -f $fs/lib/security/*.la
37 cp -a $stuff/* $fs
38 }
40 pre_remove()
41 {
42 # If busybox-pam is installed, trigger its removal right now. Once pam shared
43 # library will be removed, it will be too late. Don't worry about this, while
44 # removing busybox-pam will replace itself by a non-pam busybox.
45 if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then
46 tazpkg remove busybox-pam --auto
47 fi
48 }