wok-current annotate pam_mount/receipt @ rev 14804

slitaz-tools-boxes: get source from hg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 16 23:01:09 2013 +0200 (2013-07-16)
parents 5059f66907de
children 10e6c72b2c15
rev   line source
pascal@2443 1 # SliTaz package receipt.
pascal@2443 2
pascal@2443 3 PACKAGE="pam_mount"
pascal@2443 4 VERSION="1.20"
pascal@2443 5 CATEGORY="system-tools"
pascal@2443 6 SHORT_DESC="PAM Module that can mount volumes for a user session."
pascal@2443 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2443 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@2559 9 WEB_SITE="http://pam-mount.sourceforge.net/"
pascal@2443 10 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL"
pascal@12426 11 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev"
pascal@2443 12 DEPENDS="pam libcrypto libxml2 libhx zlib"
pascal@2443 13
pascal@2443 14 # Rules to configure and make the package.
pascal@2443 15 compile_rules()
pascal@2443 16 {
pascal@2443 17 cd $src
pascal@2443 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2443 19 --sysconfdir=/etc --localstatedir=/var \
pascal@2443 20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2443 21 make &&
pascal@10556 22 make DESTDIR=$DESTDIR install
pascal@2443 23 }
pascal@2443 24
pascal@2443 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2443 26 genpkg_rules()
pascal@2443 27 {
pankso@3491 28 mkdir -p $fs/usr
pascal@2443 29 cp -a $_pkg/usr/sbin $fs/usr
pascal@2443 30 cp -a $_pkg/usr/bin $fs/usr
pascal@2443 31 cp -a $_pkg/sbin $fs
pascal@2443 32 cp -a $_pkg/etc $fs
pascal@2443 33 cp -a $_pkg/lib $fs
pascal@2443 34 cp -a $_pkg/var $fs
pascal@2443 35 }