wok annotate pam_ssh/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | bad7d4d8ff9a |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@4562 | 1 # SliTaz package receipt. |
pascal@4562 | 2 |
pascal@4562 | 3 PACKAGE="pam_ssh" |
pascal@18053 | 4 VERSION="2.1" |
pascal@4562 | 5 CATEGORY="system-tools" |
pascal@4562 | 6 SHORT_DESC="PAM Module that provides single sign-on behavior with ssh-agent." |
pascal@4562 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15375 | 8 LICENSE="BSD" |
pascal@18053 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@4562 | 10 WEB_SITE="http://pam-ssh.sourceforge.net/" |
pascal@4562 | 11 WGET_URL="$SF_MIRROR/pam-ssh/$TARBALL" |
pascal@17141 | 12 TAGS="ssh" |
pascal@15375 | 13 |
slaxemulator@8379 | 14 DEPENDS="pam libcrypto openssh-pam" |
pascal@15616 | 15 BUILD_DEPENDS="pam-dev file openssl-dev openssh-pam automake" |
pascal@4562 | 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-ssh/files/pam_ssh/ 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_ssh/||;s|/.*||;q' |
pascal@24396 | 23 } |
pascal@24396 | 24 |
pascal@4562 | 25 # Rules to configure and make the package. |
pascal@4562 | 26 compile_rules() |
pascal@4562 | 27 { |
pascal@4562 | 28 ./configure --prefix=/usr \ |
pascal@4562 | 29 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@4562 | 30 make && |
pascal@10552 | 31 make DESTDIR=$DESTDIR install |
pascal@4562 | 32 } |
pascal@4562 | 33 |
pascal@4562 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4562 | 35 genpkg_rules() |
pascal@4562 | 36 { |
pascal@15375 | 37 cp -a $install/lib $fs |
pascal@4562 | 38 } |