void-packages/srcpkgs/libnpupnp/template
2020-02-26 17:01:12 +01:00

27 lines
796 B
Bash

# Template file for 'libnpupnp'
pkgname=libnpupnp
version=2.1.1
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/libnpupnp.html"
distfiles="https://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-${version}.tar.gz"
checksum=bf9df02e24c111f9b810d02deefed9a42083bc149153d9dd8e0f7200bca1758c
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"
}
}