wok-6.x annotate pam_mount/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents 080c1dff8494
children 1c1cd9e8b715
rev   line source
pascal@2443 1 # SliTaz package receipt.
pascal@2443 2
pascal@2443 3 PACKAGE="pam_mount"
pascal@18456 4 VERSION="2.15"
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@15021 8 LICENSE="GPL2 LGPL"
pascal@18456 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@25460 10 WEB_SITE="https://pam-mount.sourceforge.net/"
pascal@2443 11 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL"
pascal@15021 12
pascal@18456 13 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev \
pascal@18456 14 util-linux-mount-dev util-linux-blkid-dev util-linux-uuid-dev"
pascal@2443 15 DEPENDS="pam libcrypto libxml2 libhx zlib"
pascal@2443 16
pascal@24396 17 # What is the latest version available today?
pascal@24396 18 current_version()
pascal@24396 19 {
pascal@24396 20 wget -O - https://sourceforge.net/projects/pam-mount/files/pam_mount/ 2>/dev/null | \
pascal@24396 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24396 22 sed '/scope="row/!d;s|.*/pam_mount/||;s|/.*||;q'
pascal@24396 23 }
pascal@24396 24
pascal@2443 25 # Rules to configure and make the package.
pascal@2443 26 compile_rules()
pascal@2443 27 {
pascal@18456 28 ./configure --prefix=/usr \
pascal@18456 29 --sysconfdir=/etc --localstatedir=/var \
pascal@18456 30 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2443 31 make &&
pascal@10556 32 make DESTDIR=$DESTDIR install
pascal@2443 33 }
pascal@2443 34
pascal@2443 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2443 36 genpkg_rules()
pascal@2443 37 {
pankso@3491 38 mkdir -p $fs/usr
pascal@15021 39 cp -a $install/usr/sbin $fs/usr
pascal@15021 40 cp -a $install/sbin $fs
pascal@15021 41 cp -a $install/etc $fs
pascal@15021 42 cp -a $install/lib $fs
pascal@15021 43 cp -a $install/var $fs
pascal@2443 44 }