wok view tacacs+/receipt @ rev 25345
updated tar and tar-lang (1.32 -> 1.34)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:58:01 2022 +0100 (2022-07-25) |
parents | 934055de50e2 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tacacs+"
4 VERSION="4.0.4.28"
5 CATEGORY="misc"
6 SHORT_DESC="Authentication server for cisco devices."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://www.shrubbery.net/tac_plus"
11 TARBALL="${PACKAGE/+/}-F$VERSION.tar.gz"
12 WGET_URL="https://shrubbery.net/pub/tac_plus/$TARBALL"
14 DEPENDS="libwrap pam"
15 BUILD_DEPENDS="libwrap-dev pam-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-F[0-9]/!d;/tar/!d;s|.*$PACKAGE-F\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 }