tacacs: split devel, orphan

This commit is contained in:
Renato Aguiar 2020-05-08 15:57:05 -07:00 committed by Helmut Pozimski
parent a0c5ad4ba8
commit 3c29e49e35
2 changed files with 15 additions and 4 deletions

1
srcpkgs/tacacs-devel Symbolic link
View file

@ -0,0 +1 @@
tacacs

View file

@ -1,18 +1,18 @@
# Template file for 'tacacs'
pkgname=tacacs
version=4.0.4.28
revision=1
revision=2
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"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:Cisco"
homepage="http://www.shrubbery.net/tac_plus/"
distfiles="ftp://ftp.shrubbery.net/pub/tac_plus/$pkgname-F$version.tar.gz"
checksum=147f2dc98d26d2f93f0aba76c988ced196ffe1c001dc2e91f788a1a2c747219e
python_version=2 #unverified
python_version=2
disable_parallel_build=yes
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
@ -27,3 +27,13 @@ pre_configure() {
post_install() {
vlicense COPYING
}
tacacs-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}