wok-current annotate pam_mount/receipt @ rev 12255
Added tag 4.0 for changeset 7247d5bc52d2
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 10 16:21:07 2012 +0200 (2012-04-10) |
parents | 50df99a5f244 |
children | 30b71c3827a2 |
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@10556 | 11 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-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 } |