blob: 19af384d8482b046b3a5e1736522cbf2eed5728d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
}
|