summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Mackdanz <stasibear@gentoo.org>2024-03-16 09:52:35 -0500
committerErik Mackdanz <stasibear@gentoo.org>2024-03-16 10:09:16 -0500
commit5c48cced1895882ee218acb7f6974ef8b078fbdb (patch)
treee7f35bf497394ace9281d811aeecfec7a95998c5 /net-libs/libnpupnp
parentdev-python/pydantic: Stabilize 2.6.3 sparc, #926906 (diff)
downloadgentoo-5c48cced1895882ee218acb7f6974ef8b078fbdb.tar.gz
gentoo-5c48cced1895882ee218acb7f6974ef8b078fbdb.tar.bz2
gentoo-5c48cced1895882ee218acb7f6974ef8b078fbdb.zip
net-libs/libnpupnp: add 6.1.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-6.1.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/net-libs/libnpupnp/Manifest b/net-libs/libnpupnp/Manifest
index 37047f7c4d55..ddd695b9305f 100644
--- a/net-libs/libnpupnp/Manifest
+++ b/net-libs/libnpupnp/Manifest
@@ -1 +1,2 @@
DIST libnpupnp-5.0.2.tar.gz 553436 BLAKE2B d285bf2b58c74f2aefd98ffb4a0021d82ac508cf91be0dd02db9125fb2966358ce8e5969f540de8c4e6c4930b5f55e1a55588fcd65010b9e0181aa01d70f0b72 SHA512 6beab39649acd9ad3ac71420455bf4449f3c8223abcd84578c0a4a0ec52e5fa8df2c07cfda439ce91bc8c83b3a43b74c36de8765adf4feb11b61ee72936ede4e
+DIST libnpupnp-6.1.1.tar.gz 549925 BLAKE2B b7d8db7ddf58f77ee855dd6e82567a8e0edf1cbad468e2f4fa9a813908ec3c25a304fd3f41c592f5dfda46831998bf74a39a1be4cb3cd63cdac55f5aa2bc08a0 SHA512 905c0dfc7f018a80380406682550271893d795a1964bb5e7c4a56c6934ce06b9b6e29a2c5a7a9c4bf1a5a2348637ad6af3fd99cd38d7bba9d935fdbec6a6dce5
diff --git a/net-libs/libnpupnp/libnpupnp-6.1.1.ebuild b/net-libs/libnpupnp/libnpupnp-6.1.1.ebuild
new file mode 100644
index 000000000000..fb767483046f
--- /dev/null
+++ b/net-libs/libnpupnp/libnpupnp-6.1.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 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
+}