27 lines
797 B
Bash
27 lines
797 B
Bash
# Template file for 'libnpupnp'
|
|
pkgname=libnpupnp
|
|
version=4.0.10
|
|
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=a682d0584d79acd5a4d551ae18efc83cb0765624da27fb0edcd47e3fb94418f9
|
|
|
|
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"
|
|
}
|
|
}
|