wok-current annotate pam_mount/receipt @ rev 24538

updated fbcat (0.5.1 -> 0.5.2)
author Hans-G?nter Theisgen
date Wed Feb 23 15:14:49 2022 +0100 (2022-02-23)
parents bbad6c384bed
children 7dd01dedad38
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@2559 10 WEB_SITE="http://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 }