wok-6.x view pam/receipt @ rev 24968

gnutls: disabled GOST support
author Hans-G?nter Theisgen
date Tue Apr 26 13:11:21 2022 +0100 (2022-04-26)
parents 8dd8bab3f0ca
children 1805f71c5d9f
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 sed -i 's|(uname -m)|(echo i686)|;s|`uname -m`|`echo i686`|' \
29 configure build-aux/config.guess
30 ./configure --sysconfdir=/etc \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/lib
39 cp -a $install/etc $fs
40 cp -a $install/sbin $fs
41 cp -a $install/lib/*so* $fs/lib
42 cp -a $install/lib/security $fs/lib
43 rm -f $fs/lib/security/*.la
44 cp -a $stuff/* $fs
45 }
47 pre_remove()
48 {
49 # If busybox-pam is installed, trigger its removal right now. Once pam shared
50 # library will be removed, it will be too late. Don't worry about this, while
51 # removing busybox-pam will replace itself by a non-pam busybox.
52 if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then
53 tazpkg remove busybox-pam --auto
54 fi
55 }