33 lines
882 B
Bash
33 lines
882 B
Bash
# Template file for 'miniupnpc'
|
|
pkgname=miniupnpc
|
|
version=2.2.2
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
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=888fb0976ba61518276fe1eda988589c700a3f2a69d71089260d75562afd3687
|
|
|
|
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
|
|
}
|
|
}
|