diff options
author | Sam James <sam@gentoo.org> | 2022-03-13 05:34:25 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-13 05:36:53 +0000 |
commit | 22b5c2e92d64f93584291a4c9ec102f14ac9a4db (patch) | |
tree | 061f5de14733757cc3a0c178d9ab369d9b3891d0 /net-libs | |
parent | media-libs/libaacs: add 0.11.1 (diff) | |
download | gentoo-22b5c2e92d64f93584291a4c9ec102f14ac9a4db.tar.gz gentoo-22b5c2e92d64f93584291a4c9ec102f14ac9a4db.tar.bz2 gentoo-22b5c2e92d64f93584291a4c9ec102f14ac9a4db.zip |
net-libs/libnpupnp: [QA] use eautoreconf, fix DEPEND
- Use eautoreconf instead of autogen.sh (handles everything we need, plus
inheriting autotools.eclass guarantees correct dependencies).
- Define DEPEND (these dependencies need to be around at build-time too)
- Add missing virtual/pkgconfig BDEPEND
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libnpupnp/libnpupnp-4.1.5-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/net-libs/libnpupnp/libnpupnp-4.1.5-r1.ebuild b/net-libs/libnpupnp/libnpupnp-4.1.5-r1.ebuild new file mode 100644 index 000000000000..e43e9d04e31f --- /dev/null +++ b/net-libs/libnpupnp/libnpupnp-4.1.5-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 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 +} |