void-packages/srcpkgs/tacacs/template

25 lines
715 B
Bash

# Template file for 'tacacs'
pkgname=tacacs
version=4.0.4.28
revision=1
wrksrc=$pkgname-F$version
build_style=gnu-configure
configure_args="--with-libwrap=no"
hostmakedepends="flex perl"
short_desc="Modified version of Cisco's tacacs+ (tac_plus) developer's kit"
maintainer="Renato Aguiar <renato@renag.me>"
license="custom"
homepage="http://www.shrubbery.net/tac_plus/"
distfiles="ftp://ftp.shrubbery.net/pub/tac_plus/$pkgname-F$version.tar.gz"
checksum=147f2dc98d26d2f93f0aba76c988ced196ffe1c001dc2e91f788a1a2c747219e
disable_parallel_build=yes
pre_configure() {
# -lnsl is not required w/o libwrap and prevents musl builds; rip it out
sed -i configure -e "s;-lnsl ;;g"
}
post_install() {
vlicense COPYING
}