void-packages/srcpkgs/miniupnpc/template

30 lines
711 B
Bash
Raw Normal View History

2012-07-04 13:20:52 +00:00
# Template file for 'miniupnpc'
pkgname=miniupnpc
version=1.9
2015-05-30 07:28:04 +00:00
revision=2
2012-07-04 13:20:52 +00:00
short_desc="A small UPnP client library/tool to access Internet Gateway Devices"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2012-07-04 13:20:52 +00:00
homepage="http://miniupnp.free.fr"
license="BSD"
distfiles="http://miniupnp.free.fr/files/$pkgname-$version.tar.gz"
checksum=2923e453e880bb949e3d4da9f83dd3cb6f08946d35de0b864d0339cf70934464
2012-07-04 13:20:52 +00:00
2015-05-30 07:28:04 +00:00
do_build() {
make CC=$CC
}
do_install() {
make PREFIX=${DESTDIR} install
vlicense LICENSE
2012-07-04 13:20:52 +00:00
}
miniupnpc-devel_package() {
2014-02-21 14:05:13 +00:00
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
}
}