wok-current annotate pam/receipt @ rev 22992

updated l3afpad again (0.8.18.1.10 -> 0.8.18.1.11)
author Hans-G?nter Theisgen
date Sun Mar 01 17:52:11 2020 +0100 (2020-03-01)
parents 591601409a8e
children 241fb98cab1c
rev   line source
pascal@1948 1 # SliTaz package receipt.
pascal@1948 2
pascal@1948 3 PACKAGE="pam"
pascal@18106 4 VERSION="1.2.0"
pascal@1948 5 CATEGORY="system-tools"
pascal@1948 6 SHORT_DESC="Pluggable Authentication Modules."
pascal@1948 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 8 LICENSE="BSD GPL2"
pascal@1948 9 SOURCE="Linux-PAM"
pascal@1948 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@20672 11 WEB_SITE="http://www.linux-pam.org/"
gokhlayeh@11386 12 WGET_URL="http://gentoo.osuosl.org/distfiles/$TARBALL"
pankso@16203 13 HOST_ARCH="i486 arm"
pankso@9743 14
rcx@3646 15 DEPENDS="glibc-base libdb"
pankso@16203 16 BUILD_DEPENDS="flex db-dev libdb"
pascal@1948 17
pascal@1948 18 # Rules to configure and make the package.
pascal@1948 19 compile_rules()
pascal@1948 20 {
pascal@20563 21 sed -i 's|(uname -m)|(echo i686)|;s|`uname -m`|`echo i686`|' \
pascal@20563 22 configure build-aux/config.guess
pankso@16203 23 ./configure --sysconfdir=/etc \
pankso@16203 24 $CONFIGURE_ARGS &&
pankso@9743 25 make && make install
pascal@1948 26 }
pascal@1948 27
pascal@1948 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1948 29 genpkg_rules()
pascal@1948 30 {
pascal@1948 31 mkdir -p $fs/lib
pascal@15375 32 cp -a $install/etc $fs
pascal@15375 33 cp -a $install/sbin $fs
pascal@15375 34 cp -a $install/lib/*so* $fs/lib
pascal@15375 35 cp -a $install/lib/security $fs/lib
pascal@1948 36 rm -f $fs/lib/security/*.la
pankso@9743 37 cp -a $stuff/* $fs
pascal@1948 38 }
gokhlayeh@11446 39
gokhlayeh@11446 40 pre_remove()
gokhlayeh@11446 41 {
gokhlayeh@11446 42 # If busybox-pam is installed, trigger its removal right now. Once pam shared
gokhlayeh@11446 43 # library will be removed, it will be too late. Don't worry about this, while
gokhlayeh@11446 44 # removing busybox-pam will replace itself by a non-pam busybox.
gokhlayeh@11446 45 if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then
gokhlayeh@11446 46 tazpkg remove busybox-pam --auto
gokhlayeh@11446 47 fi
gokhlayeh@11446 48 }