wok view pam_ssh/receipt @ rev 24712

updated less (551 -> 590)
author Hans-G?nter Theisgen
date Mon Mar 14 17:50:02 2022 +0100 (2022-03-14)
parents bad7d4d8ff9a
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="pam_ssh"
4 VERSION="2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="PAM Module that provides single sign-on behavior with ssh-agent."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://pam-ssh.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/pam-ssh/$TARBALL"
12 TAGS="ssh"
14 DEPENDS="pam libcrypto openssh-pam"
15 BUILD_DEPENDS="pam-dev file openssl-dev openssh-pam automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/pam-ssh/files/pam_ssh/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/pam_ssh/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure --prefix=/usr \
29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/lib $fs
38 }