wok view pam_ssh/receipt @ rev 25624

Add opendkim
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 16:45:57 2023 +0000 (12 months ago)
parents 7dd01dedad38
children
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="https://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|.*a href="|"https://sourceforge.net|;s| .*||;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 }