summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2023-03-02 00:14:16 -0600
committerErik Mackdanz <stasibear@gentoo.org>2023-03-02 00:14:19 -0600
commit2bcab0a8fb658631cf4a2cb39d655231b992db64 (patch)
tree3c52b04f6ac8e32d75888729ed3fee2e1b8d7609 /net-libs/libnpupnp
parentmedia-sound/upmpdcli: drop 1.7.1 (diff)
downloadgentoo-2bcab0a8fb658631cf4a2cb39d655231b992db64.tar.gz
gentoo-2bcab0a8fb658631cf4a2cb39d655231b992db64.tar.bz2
gentoo-2bcab0a8fb658631cf4a2cb39d655231b992db64.zip
net-libs/libnpupnp: add 5.0.1
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.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/net-libs/libnpupnp/Manifest b/net-libs/libnpupnp/Manifest
index a1548b43c5a1..b6f48618090f 100644
--- a/net-libs/libnpupnp/Manifest
+++ b/net-libs/libnpupnp/Manifest
@@ -1 +1,2 @@
DIST libnpupnp-5.0.0.tar.gz 545368 BLAKE2B a0b83186df66ff5608a7d579d3653028497ce92536ea85abc03c73134046c4f55ad31fb849c7231cf7842a424e4f408747f7da3769aae441499fd7ec7ae2544f SHA512 325be49f64d901e67aaf3893ac91f21523e81b1810c717f70a40486dde65080620ffa38f622ec785475b181f84a6d51fad89a86e709a9bd5554f278b90ae92f9
+DIST libnpupnp-5.0.1.tar.gz 553258 BLAKE2B 141967e60a4776b6470dc55d2b0736e17281c671d7f102aee9553ff48d66833ec0c97d405427161989130f6cac21c90c2663f945e6c69c317de710a08e84627a SHA512 2a8cd7c1f2bd710a9b72d69dde56b2e5094ef1b6282239377f7fd15e0a6d9f85218f5b95ec17dabc678897f2d597cf7bf800890524762488c0e6fcc315a8cef7
diff --git a/net-libs/libnpupnp/libnpupnp-5.0.1.ebuild b/net-libs/libnpupnp/libnpupnp-5.0.1.ebuild
new file mode 100644
index 000000000000..9990fede9a9f
--- /dev/null
+++ b/net-libs/libnpupnp/libnpupnp-5.0.1.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
+}