wok view pam_krb5/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents bd7510903310
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pam_krb5"
4 VERSION="4.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="Kerberos v5 PAM module."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.eyrie.org/~eagle/software/pam-krb5/"
11 SOURCE="pam-krb5"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="https://archives.eyrie.org/software/ARCHIVE/pam-krb5/$TARBALL"
15 DEPENDS="libcomerr libcomerr3 libkrb5 pam"
16 BUILD_DEPENDS="krb5-dev pam-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --sysconfdir=/etc \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/lib $fs
42 }