void-packages/srcpkgs/miniupnpc/template
2016-06-26 03:07:58 -04:00

29 lines
711 B
Bash

# Template file for 'miniupnpc'
pkgname=miniupnpc
version=2.0
revision=1
short_desc="A small UPnP client library/tool to access Internet Gateway Devices"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://miniupnp.free.fr"
license="BSD"
distfiles="http://miniupnp.free.fr/files/$pkgname-$version.tar.gz"
checksum=d434ceb8986efbe199c5ca53f90ed53eab290b1e6d0530b717eb6fa49d61f93b
do_build() {
make CC=$CC
}
do_install() {
make PREFIX=${DESTDIR} 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/share/man/man3
}
}