void-packages/srcpkgs/libupnpp/template

24 lines
710 B
Bash

# Template file for 'libupnpp'
pkgname=libupnpp
version=0.18.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="expat-devel libcurl-devel libnpupnp-devel"
short_desc="C++ wrapper for libnpupnp"
maintainer="amak <amak.git@outlook.com>"
license="LGPL-2.1-or-later"
homepage="https://www.lesbonscomptes.com/upmpdcli"
distfiles="https://www.lesbonscomptes.com/upmpdcli/downloads/libupnpp-${version}.tar.gz"
checksum=c9659cd36ce70c43e9889a6c3a5eeb28e4f799580727826a6c7aef9bef6b6937
libupnpp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}