void-packages/srcpkgs/libupnp/template
maxice8 f4a2c5a8e1 libupnp: fix xlint warnings.
Closes: #8106 [via git-merge-pr]
2017-10-15 15:34:49 -07:00

31 lines
726 B
Bash

# Template file for 'libupnp'
pkgname=libupnp
version=1.6.22
revision=2
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="A Portable Open Source UPnP Development Kit"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
homepage="http://pupnp.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/pupnp/$pkgname-$version.tar.bz2"
checksum=0bdfacb7fa8d99b78343b550800ff193264f92c66ef67852f87f042fd1a1ebbc
post_install() {
vlicense LICENSE
}
pre_configure() {
autoreconf -fi
}
libupnp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}