diff options
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libnpupnp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libnpupnp/libnpupnp-5.0.1.ebuild | 48 |
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 +} |