wok view pam_mount/receipt @ rev 10274

ncurses*: build fail if native build system is used so use the compiler machine type
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 21 21:22:47 2011 +0200 (2011-05-21)
parents 8e44b7502050
children 50df99a5f244
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"
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=$PWD/_pkg 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 }