void-packages/srcpkgs/libupnp/template
2017-11-20 11:18:32 +01:00

31 lines
726 B
Bash

# Template file for 'libupnp'
pkgname=libupnp
version=1.6.24
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=7d83d79af3bb4062e5c3a58bf2e90d2da5b8b99e2b2d57c23b5b6f766288cf96
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"
}
}