void-packages/srcpkgs/libupnp/template

30 lines
720 B
Plaintext
Raw Normal View History

2013-09-23 22:32:21 +02:00
# Template file for 'libupnp'
pkgname=libupnp
2013-11-17 16:44:18 +01:00
version=1.6.19
2013-09-23 22:32:21 +02:00
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"
2013-11-17 16:44:18 +01:00
checksum=b3142b39601243b50532eec90f4a27dba85eb86f58d4b849ac94edeb29d9b22a
2013-09-23 22:32:21 +02:00
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() {
2013-11-17 16:44:18 +01:00
depends="${sourcepkg}>=${version}_${revision}"
2013-09-23 22:32:21 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}