void-packages/srcpkgs/libupnp/template
Michael Gehring 97b3715ed4 libupnp: update to 1.6.21.
Fixes CVE-2016-8863, CVE-2016-6255
2016-12-22 06:27:53 +00:00

27 lines
688 B
Bash

# Template file for 'libupnp'
pkgname=libupnp
version=1.6.21
revision=1
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=af3f3c0846a1d75baeadae4aa5a2bda427567e2a1fb4559bf73ccff0a4f9a39b
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"
}
}