void-packages/srcpkgs/libupnp/template

29 lines
720 B
Text

# Template file for 'libupnp'
pkgname=libupnp
version=1.6.19
revision=1
build_style=gnu-configure
short_desc="A Portable Open Source UPnP Development Kit"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://pupnp.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/pupnp/$pkgname-$version.tar.bz2"
checksum=b3142b39601243b50532eec90f4a27dba85eb86f58d4b849ac94edeb29d9b22a
if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake libtool"
pre_configure() {
autoreconf -fi
}
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"
}
}