wok-next annotate pam/receipt @ rev 19624
Fix some WANTED versions
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 08 16:29:10 2017 +0100 (2017-02-08) |
parents | 60f944d082a0 |
children | c1d8355335f2 |
rev | line source |
---|---|
pascal@1948 | 1 # SliTaz package receipt. |
pascal@1948 | 2 |
pascal@1948 | 3 PACKAGE="pam" |
al@19601 | 4 VERSION="1.3.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" |
al@19601 | 9 WEB_SITE="http://www.linux-pam.org/" |
pankso@16203 | 10 HOST_ARCH="i486 arm" |
pankso@9743 | 11 |
al@19601 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@19601 | 13 WGET_URL="http://www.linux-pam.org/library/Linux-PAM-$VERSION.tar.bz2" |
al@19601 | 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 { |
al@19601 | 21 ./configure \ |
al@19601 | 22 --sysconfdir=/etc \ |
pankso@16203 | 23 $CONFIGURE_ARGS && |
pankso@9743 | 24 make && make install |
pascal@1948 | 25 } |
pascal@1948 | 26 |
pascal@1948 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1948 | 28 genpkg_rules() |
pascal@1948 | 29 { |
pascal@1948 | 30 mkdir -p $fs/lib |
pascal@15375 | 31 cp -a $install/etc $fs |
pascal@15375 | 32 cp -a $install/sbin $fs |
pascal@15375 | 33 cp -a $install/lib/*so* $fs/lib |
pascal@15375 | 34 cp -a $install/lib/security $fs/lib |
pascal@1948 | 35 rm -f $fs/lib/security/*.la |
al@19601 | 36 cp -a $stuff/* $fs |
pascal@1948 | 37 } |
gokhlayeh@11446 | 38 |
gokhlayeh@11446 | 39 pre_remove() |
gokhlayeh@11446 | 40 { |
gokhlayeh@11446 | 41 # If busybox-pam is installed, trigger its removal right now. Once pam shared |
gokhlayeh@11446 | 42 # library will be removed, it will be too late. Don't worry about this, while |
gokhlayeh@11446 | 43 # removing busybox-pam will replace itself by a non-pam busybox. |
gokhlayeh@11446 | 44 if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then |
gokhlayeh@11446 | 45 tazpkg remove busybox-pam --auto |
gokhlayeh@11446 | 46 fi |
gokhlayeh@11446 | 47 } |