void-packages/srcpkgs/libnpupnp/template

29 lines
879 B
Bash

# Template file for 'libnpupnp'
pkgname=libnpupnp
version=5.0.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="expat-devel libcurl-devel libmicrohttpd-devel"
short_desc="UPnP library based on libupnp, but extensively rewritten"
maintainer="amak <amak.git@outlook.com>"
license="BSD-3-Clause"
homepage="https://www.lesbonscomptes.com/upmpdcli/npupnp-doc/libnpupnp.html"
changelog="https://www.lesbonscomptes.com/upmpdcli/pages/releases.html"
distfiles="https://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-${version}.tar.gz"
checksum=2e5648cf180a425ef57b8c9c0d9dbd77f0314487ea0e0a85ebc6c3ef87cab05b
post_install() {
vlicense COPYING
}
libnpupnp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}