31 lines
881 B
Bash
31 lines
881 B
Bash
# Template file for 'miniupnpc'
|
|
pkgname=miniupnpc
|
|
version=2.2.3
|
|
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=dce41b4a4f08521c53a0ab163ad2007d18b5e1aa173ea5803bd47a1be3159c24
|
|
|
|
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
|
|
}
|
|
}
|