void-packages/srcpkgs/libupnp/template

36 lines
774 B
Plaintext
Raw Normal View History

2013-09-23 22:32:21 +02:00
# Template file for 'libupnp'
pkgname=libupnp
version=1.6.18
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=b21bc676365622d3ace1b25292dab8d4d23f6e6a80ddc8f029b765d39797e934
2013-09-23 22:35:03 +02:00
if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake libtool"
pre_configure() {
autoreconf -fi
}
fi
2013-09-23 22:32:21 +02:00
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"
}
}
libupnp_package() {
pkg_install() {
vmove all
}
}