wok-current annotate tacacs+/receipt @ rev 24703

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