void-packages/srcpkgs/libupnp/template
Alexander Gehrke 3a544ba709 libupnp: update to 1.14.0.
Closes #27829.
2021-01-11 23:02:31 -05:00

34 lines
811 B
Bash

# Template file for 'libupnp'
pkgname=libupnp
version=1.14.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
short_desc="Portable Open Source UPnP Development Kit"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://pupnp.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/pupnp/$pkgname-$version.tar.bz2"
checksum=ecb23d4291968c8a7bdd4eb16fc2250dbacc16b354345a13342d67f571d35ceb
CFLAGS="-D_FILE_OFFSET_BITS=64"
post_install() {
vlicense COPYING
}
pre_configure() {
autoreconf -fi
}
libupnp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
conflicts="libupnp1.8-devel>=0"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}