33 lines
882 B
Bash
33 lines
882 B
Bash
# Template file for 'miniupnpc'
|
|
pkgname=miniupnpc
|
|
version=2.2.1
|
|
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=3a3167e57727bf1d2a7b4861f7c7b57a663f58b9cf68227762ed2fc64e8ea11f
|
|
|
|
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
|
|
}
|
|
}
|