void-packages/srcpkgs/libupnp1.8/template
2017-10-01 16:50:29 +02:00

33 lines
842 B
Bash

# Template file for 'libupnp1.8'
pkgname=libupnp1.8
version=1.8.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool"
short_desc="A Portable Open Source UPnP Development Kit"
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
license="BSD"
homepage="http://pupnp.sourceforge.net/"
distfiles="https://github.com/mrjimenez/pupnp/archive/release-${version}.tar.gz"
wrksrc="pupnp-release-${version}"
checksum=438ad86bfd933cb1e9be1c41bf3bd69f049daba11d71bbb5d715336e00106cb4
configure_args="--enable-ipv6 --enable-reuseaddr"
pre_configure() {
autoreconf -fi
}
post_install() {
vlicense LICENSE
}
libupnp1.8-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"
}
}