void-packages/srcpkgs/libupnp/template
maxice8 0425ca73c0 libupnp: update to 1.6.25.
Closes: #11588 [via git-merge-pr]
2018-03-17 22:29:01 -07:00

31 lines
735 B
Bash

# Template file for 'libupnp'
pkgname=libupnp
version=1.6.25
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-3-Clause"
homepage="http://pupnp.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/pupnp/$pkgname-$version.tar.bz2"
checksum=c5a300b86775435c076d58a79cc0d5a977d76027d2a7d721590729b7f369fa43
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"
}
}