void-packages/srcpkgs/libupnp/template
2016-07-16 07:55:50 +02:00

27 lines
688 B
Bash

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