void-packages/srcpkgs/libcli/template

26 lines
695 B
Bash

# Template file for 'libcli'
pkgname=libcli
version=1.10.7
revision=1
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${version}.tar.gz"
checksum=179f78592f73492c22cc1b544b6f8cb0f6630a2f670430c118b8e084e6562e74
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"
}
}