wok-current view pam/receipt @ rev 16886
libwebkit-video: use original ver receipt: no ruby builddep
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Jul 14 02:53:40 2014 +0300 (2014-07-14) |
parents | 51a1ebbda768 |
children | 60f944d082a0 |
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 LICENSE="BSD GPL2"
9 SOURCE="Linux-PAM"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.us.kernel.org/pub/linux/libs/pam/"
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 ./configure --sysconfdir=/etc \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/lib
30 cp -a $install/etc $fs
31 cp -a $install/sbin $fs
32 cp -a $install/lib/*so* $fs/lib
33 cp -a $install/lib/security $fs/lib
34 rm -f $fs/lib/security/*.la
35 cp -a $stuff/* $fs
36 }
38 pre_remove()
39 {
40 # If busybox-pam is installed, trigger its removal right now. Once pam shared
41 # library will be removed, it will be too late. Don't worry about this, while
42 # removing busybox-pam will replace itself by a non-pam busybox.
43 if [ -d /var/lib/tazpkg/installed/busybox-pam ]; then
44 tazpkg remove busybox-pam --auto
45 fi
46 }