void-packages/srcpkgs/libupnp/template

32 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"
}
}