net-libs/libnpupnp - 6.0.0 (robert7k)

Search

Install

Install this version:

emerge -a =net-libs/libnpupnp-6.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-libs/libnpupnp-6.0.0

Or alternatively:

emerge --autounmask-write -a =net-libs/libnpupnp-6.0.0

Package Information

Description:
A C++ base UPnP library, derived from Portable UPnP, a.k.a libupnp
Homepage:
https://framagit.org/medoc92/npupnp
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
6.0.0 8 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/expat
	net-libs/libmicrohttpd:=
	net-misc/curl

RDEPEND

	dev-libs/expat
	net-libs/libmicrohttpd:=
	net-misc/curl

BDEPEND

virtual/pkgconfig

Manifest for 6.0.0

Type File Size Source URLs
DIST libnpupnp-6.0.0.tar.gz 557053 bytes https://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-6.0.0.tar.gz