27 lines
737 B
Bash
27 lines
737 B
Bash
# Template file for 'libcli'
|
|
pkgname=libcli
|
|
version=1.9.8.4
|
|
_distver="${version%.*}-${version##*.}"
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
short_desc="Library for cisco style telnet interfaces"
|
|
maintainer="Robert Lowry <bobertlo@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/dparrish/libcli"
|
|
distfiles="https://github.com/dparrish/libcli/archive/v${_distver}.tar.gz"
|
|
checksum=c80e268be48c7a52105877995e126034df281096d9785a394b7afcadc9d30e9a
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|
|
|
|
libcli-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|