void-packages/srcpkgs/libupnpp/template

24 lines
706 B
Bash

# Template file for 'libupnpp'
pkgname=libupnpp
version=0.17.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="expat-devel libcurl-devel libupnp-devel"
short_desc="C++ wrapper for libupnp"
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=5abaaf353a1e9c3482d61ef2627b650285d59f27c1ee60d35b8951952261374f
libupnpp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}