void-packages/srcpkgs/miniupnpc/template
2020-11-14 16:47:36 -05:00

30 lines
824 B
Bash

# Template file for 'miniupnpc'
pkgname=miniupnpc
version=2.2.0
revision=1
build_style=gnu-makefile
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=ff56bec3e5a3aec41f4decb43cb0b925231d6ab4cdfd7a74caa5c7c1043c4ef0
CFLAGS="-fPIC"
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
}
}