wok view pam_mount/receipt @ rev 12769
zlib: make it an arm package (noe cook/cooker handle packages by arch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 13 01:20:22 2012 +0200 (2012-05-13) |
parents | 5059f66907de |
children | 10e6c72b2c15 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pam_mount"
4 VERSION="1.20"
5 CATEGORY="system-tools"
6 SHORT_DESC="PAM Module that can mount volumes for a user session."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://pam-mount.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL"
11 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev"
12 DEPENDS="pam libcrypto libxml2 libhx zlib"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --sysconfdir=/etc --localstatedir=/var \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/sbin $fs
32 cp -a $_pkg/etc $fs
33 cp -a $_pkg/lib $fs
34 cp -a $_pkg/var $fs
35 }