wok annotate pam_mount/receipt @ rev 25600
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 16 15:14:43 2023 +0000 (16 months ago) |
parents | 7dd01dedad38 |
children | 29df00e1e19d |
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@25462 | 10 #WEB_SITE="https://pam-mount.sourceforge.net/" |
pascal@25462 | 11 WEB_SITE="https://inai.de/projects/pam_mount/" |
pascal@2443 | 12 WGET_URL="$SF_MIRROR/pam-mount/$TARBALL" |
pascal@15021 | 13 |
pascal@18456 | 14 BUILD_DEPENDS="pam-dev libhx libhx-dev libcrypto-dev openssl-dev libxml2-dev \ |
pascal@18456 | 15 util-linux-mount-dev util-linux-blkid-dev util-linux-uuid-dev" |
pascal@2443 | 16 DEPENDS="pam libcrypto libxml2 libhx zlib" |
pascal@2443 | 17 |
pascal@24396 | 18 # What is the latest version available today? |
pascal@24396 | 19 current_version() |
pascal@24396 | 20 { |
pascal@24396 | 21 wget -O - https://sourceforge.net/projects/pam-mount/files/pam_mount/ 2>/dev/null | \ |
pascal@24396 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24396 | 23 sed '/scope="row/!d;s|.*/pam_mount/||;s|/.*||;q' |
pascal@24396 | 24 } |
pascal@24396 | 25 |
pascal@2443 | 26 # Rules to configure and make the package. |
pascal@2443 | 27 compile_rules() |
pascal@2443 | 28 { |
pascal@18456 | 29 ./configure --prefix=/usr \ |
pascal@18456 | 30 --sysconfdir=/etc --localstatedir=/var \ |
pascal@18456 | 31 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2443 | 32 make && |
pascal@10556 | 33 make DESTDIR=$DESTDIR install |
pascal@2443 | 34 } |
pascal@2443 | 35 |
pascal@2443 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2443 | 37 genpkg_rules() |
pascal@2443 | 38 { |
pankso@3491 | 39 mkdir -p $fs/usr |
pascal@15021 | 40 cp -a $install/usr/sbin $fs/usr |
pascal@15021 | 41 cp -a $install/sbin $fs |
pascal@15021 | 42 cp -a $install/etc $fs |
pascal@15021 | 43 cp -a $install/lib $fs |
pascal@15021 | 44 cp -a $install/var $fs |
pascal@2443 | 45 } |