wok view pam_mount/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 1c1cd9e8b715 |
children |
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="https://pam-mount.sourceforge.net/"
11 WEB_SITE="https://inai.de/projects/pam_mount/"
12 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL"
14 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev \
15 util-linux-mount-dev util-linux-blkid-dev util-linux-uuid-dev"
16 DEPENDS="pam libcrypto libxml2 libhx zlib"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/pam-mount/files/pam_mount/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/pam_mount/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr \
30 --sysconfdir=/etc --localstatedir=/var \
31 --mandir=/usr/share/man $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/sbin $fs
42 cp -a $install/etc $fs
43 cp -a $install/lib $fs
44 cp -a $install/var $fs
45 }