wok view pam/receipt @ rev 13254
qemacs-dev: fix WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 16 08:06:30 2012 +0200 (2012-08-16) |
parents | 79d46277d7f9 |
children | e7b91865d675 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pam"
4 VERSION="1.1.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Pluggable Authentication Modules."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Linux-PAM"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.us.kernel.org/pub/linux/libs/pam/"
11 # Download sources from a non-https mirror so that tazwok can
12 # cook the toolchain (pam is a build-depend of busybox).
13 # It's because at this moment tazwok doesn't have access to https
14 # compatible wget.
15 WGET_URL="http://gentoo.osuosl.org/distfiles/$TARBALL"
17 DEPENDS="glibc-base libdb"
18 BUILD_DEPENDS="flex db db-dev libdb"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 ./configure --sysconfdir=/etc $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 $_pkg/etc $fs
33 cp -a $_pkg/var $fs
34 cp -a $_pkg/sbin $fs
35 cp -a $_pkg/lib/*so* $fs/lib
36 cp -a $_pkg/lib/security $fs/lib
37 rm -f $fs/lib/security/*.la
38 cp -a $stuff/* $fs
39 }
41 pre_remove()
42 {
43 # If busybox-pam is installed, trigger its removal right now. Once pam shared
44 # library will be removed, it will be too late. Don't worry about this, while
45 # removing busybox-pam will replace itself by a non-pam busybox.
46 if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then
47 tazpkg remove busybox-pam --auto
48 fi
49 }