wok-6.x view pam_mount/receipt @ rev 24495
updated dolibarr again (10.0.6 -> 14.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 13:42:19 2022 +0100 (2022-02-19) |
parents | bbad6c384bed |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pam_mount"
4 VERSION="2.15"
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.xz"
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 util-linux-mount-dev util-linux-blkid-dev util-linux-uuid-dev"
15 DEPENDS="pam libcrypto libxml2 libhx zlib"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/pam-mount/files/pam_mount/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/pam_mount/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure --prefix=/usr \
29 --sysconfdir=/etc --localstatedir=/var \
30 --mandir=/usr/share/man $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/sbin $fs
41 cp -a $install/etc $fs
42 cp -a $install/lib $fs
43 cp -a $install/var $fs
44 }