wok-next rev 2443
Add pam_mount
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 13 11:41:46 2009 +0000 (2009-03-13) |
parents | 6de67a33961b |
children | 09854352494e |
files | pam_mount/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pam_mount/receipt Fri Mar 13 11:41:46 2009 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pam_mount" 1.7 +VERSION="1.20" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="PAM Module that can mount volumes for a user session." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://$PACKAGE.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/pam-mount/$TARBALL" 1.14 +BUILD_DEPENDS="pam-dev libhx libhx-dev" 1.15 +DEPENDS="pam libcrypto libxml2 libhx zlib" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.22 + --sysconfdir=/etc --localstatedir=/var \ 1.23 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.24 + make && 1.25 + make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $_pkg/usr 1.32 + cp -a $_pkg/usr/sbin $fs/usr 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/sbin $fs 1.35 + cp -a $_pkg/etc $fs 1.36 + cp -a $_pkg/lib $fs 1.37 + cp -a $_pkg/var $fs 1.38 +}