blob: 8265562c6a0c18df025795abe072a4e5ce4c0f27 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools linux-info systemd
DESCRIPTION="Daemon that performs multipath TCP path management related operations."
HOMEPAGE="https://github.com/intel/mptcpd/"
LICENSE="GPL-2"
SLOT="0/${PV}"
IUSE="debug doc"
RDEPEND="
>=dev-libs/ell-0.30.0
elibc_musl? ( sys-libs/argp-standalone )
"
DEPEND="
${RDEPEND}
>=sys-kernel/linux-headers-5.6
"
BDEPEND="
doc? (
app-doc/doxygen
app-text/pandoc
)
virtual/pkgconfig
"
if [[ ${PV} == 9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/intel/mptcpd.git"
else
SRC_URI="https://github.com/intel/mptcpd/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64"
fi
CONFIG_CHECK="MPTCP"
src_prepare() {
default
# For Werror patch
eautoreconf
}
src_configure() {
local myeconfargs=(
--with-kernel=upstream
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
$(use_enable debug)
)
econf "${myeconfargs[@]}"
}
src_compile() {
emake
use doc && emake doxygen-doc
}
src_test() {
emake check
}
|