void-packages/srcpkgs/libupnpp/template

26 lines
804 B
Bash

# Template file for 'libupnpp'
pkgname=libupnpp
version=0.24.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"
changelog="https://www.lesbonscomptes.com/upmpdcli/pages/releases.html"
distfiles="https://www.lesbonscomptes.com/upmpdcli/downloads/libupnpp-${version}.tar.gz"
checksum=dc11e4cfe9f13b2de5e15a6e9f3ceaff3a8db17996d4dbe4e4f87987e3ecfc0f
libupnpp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}