New package: libnpupnp-2.0.1

This commit is contained in:
amak 2020-02-08 21:11:58 +11:00 committed by Toyam Cox
parent 0aa0e33e37
commit ec846b7d0c
3 changed files with 29 additions and 0 deletions

View file

@ -1999,6 +1999,7 @@ libpolkit-qt5-core-1.so.1 polkit-qt5-0.112.0_1
libfm-qt.so.6 libfm-qt-0.14.0_1
libqtermwidget5.so.0 qtermwidget-0.6.0_1
libnpth.so.0 npth-1.1_1
libnpupnp.so.1 libnpupnp-2.0.1_1
libglfw.so.3 glfw-3.0.4_1
libusbmuxd.so.6 libusbmuxd-1.0.10_1
libimobiledevice.so.6 libimobiledevice-1.2.0_1

1
srcpkgs/libnpupnp-devel Symbolic link
View file

@ -0,0 +1 @@
libnpupnp

View file

@ -0,0 +1,27 @@
# Template file for 'libnpupnp'
pkgname=libnpupnp
version=2.0.1
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=719d677bc5292440b481f249d90eee564f0d5677a0c876ff90f2b34df70f9734
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"
}
}