summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2023-04-24 23:31:39 -0500
committerErik Mackdanz <stasibear@gentoo.org>2023-04-24 23:39:18 -0500
commit681d93ca2b5060d43ed4281f01a51c536b538975 (patch)
tree2203e9ffdfdaaa6ea9ef191e9ba9536ac64b8b3e /net-libs/libnpupnp
parentnet-libs/libupnpp: add 0.22.5 (diff)
downloadgentoo-681d93ca2b5060d43ed4281f01a51c536b538975.tar.gz
gentoo-681d93ca2b5060d43ed4281f01a51c536b538975.tar.bz2
gentoo-681d93ca2b5060d43ed4281f01a51c536b538975.zip
net-libs/libnpupnp: add 5.0.2
Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
Diffstat (limited to 'net-libs/libnpupnp')
-rw-r--r--net-libs/libnpupnp/Manifest1
-rw-r--r--net-libs/libnpupnp/libnpupnp-5.0.2.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/net-libs/libnpupnp/Manifest b/net-libs/libnpupnp/Manifest
index 34ffd1075a07..8b64d82369bd 100644
--- a/net-libs/libnpupnp/Manifest
+++ b/net-libs/libnpupnp/Manifest
@@ -1 +1,2 @@
DIST libnpupnp-5.0.1.tar.gz 553258 BLAKE2B 141967e60a4776b6470dc55d2b0736e17281c671d7f102aee9553ff48d66833ec0c97d405427161989130f6cac21c90c2663f945e6c69c317de710a08e84627a SHA512 2a8cd7c1f2bd710a9b72d69dde56b2e5094ef1b6282239377f7fd15e0a6d9f85218f5b95ec17dabc678897f2d597cf7bf800890524762488c0e6fcc315a8cef7
+DIST libnpupnp-5.0.2.tar.gz 553436 BLAKE2B d285bf2b58c74f2aefd98ffb4a0021d82ac508cf91be0dd02db9125fb2966358ce8e5969f540de8c4e6c4930b5f55e1a55588fcd65010b9e0181aa01d70f0b72 SHA512 6beab39649acd9ad3ac71420455bf4449f3c8223abcd84578c0a4a0ec52e5fa8df2c07cfda439ce91bc8c83b3a43b74c36de8765adf4feb11b61ee72936ede4e
diff --git a/net-libs/libnpupnp/libnpupnp-5.0.2.ebuild b/net-libs/libnpupnp/libnpupnp-5.0.2.ebuild
new file mode 100644
index 000000000000..9990fede9a9f
--- /dev/null
+++ b/net-libs/libnpupnp/libnpupnp-5.0.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp"
+HOMEPAGE="https://framagit.org/medoc92/npupnp"
+SRC_URI="https://www.lesbonscomptes.com/upmpdcli/downloads/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-libs/expat
+ net-libs/libmicrohttpd
+ net-misc/curl
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-client \
+ --enable-debug \
+ --enable-device \
+ --enable-gena \
+ --enable-ipv6 \
+ --enable-optssdp \
+ --enable-reuseaddr \
+ --enable-soap \
+ --enable-ssdp \
+ --enable-tools \
+ --enable-webserver
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}