void-packages/srcpkgs/miniupnpc/template

32 lines
881 B
Bash

# Template file for 'miniupnpc'
pkgname=miniupnpc
version=2.2.7
revision=1
build_style=gnu-makefile
make_use_env=y
hostmakedepends="which"
checkdepends="inetutils-ifconfig"
short_desc="Small UPnP client library/tool to access Internet Gateway Devices"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
#changelog="http://miniupnp.free.fr/files/changelog.php?file=miniupnpc-${version}.tar.gz"
homepage="http://miniupnp.free.fr"
distfiles="http://miniupnp.free.fr/files/${pkgname}-${version}.tar.gz"
checksum=b0c3a27056840fd0ec9328a5a9bac3dc5e0ec6d2e8733349cf577b0aa1e70ac1
post_install() {
vlicense LICENSE
}
miniupnpc-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}