void-packages/srcpkgs/libnpupnp/template

28 lines
796 B
Bash
Raw Normal View History

2020-02-08 10:11:58 +00:00
# Template file for 'libnpupnp'
pkgname=libnpupnp
2020-04-09 01:22:26 +00:00
version=2.2.1
2020-02-08 10:11:58 +00:00
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"
2020-04-09 01:22:26 +00:00
checksum=da67d4c258d139d476af6b800926cd9cd09ba17d9e9fcfaebe3fb98241b32790
2020-02-08 10:11:58 +00:00
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"
}
}