void-packages/srcpkgs/libcli/template

24 lines
685 B
Bash

# Template file for 'libcli'
pkgname=libcli
version=1.9.8.4
_distver="${version%.*}-${version##*.}"
revision=1
wrksrc="libcli-${_distver}"
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
libcli-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}