wok-current view pam_mount/receipt @ rev 15944

Make lzma cross compile and fix libxml2
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 23 00:35:49 2014 +0100 (2014-02-23)
parents 30b71c3827a2
children bbad6c384bed
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 LICENSE="GPL2 LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://pam-mount.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL"
13 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev"
14 DEPENDS="pam libcrypto libxml2 libhx zlib"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc --localstatedir=/var \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/sbin $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/sbin $fs
34 cp -a $install/etc $fs
35 cp -a $install/lib $fs
36 cp -a $install/var $fs
37 }