blob: ba36c687bf3f4b4d2c62c8403e39e08a9aca9a30 (
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
|
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 toolchain-funcs
DESCRIPTION="Analysis tools for Multipath Transmission Control Protocol (MPTCP)"
HOMEPAGE="https://github.com/nasa/multipath-tcp-tools"
EGIT_REPO_URI="https://github.com/nasa/multipath-tcp-tools/"
LICENSE="NOSA"
SLOT="0"
KEYWORDS=""
DEPEND="
dev-libs/openssl:=
net-libs/libpcap
"
RDEPEND="
${DEPEND}
"
S=${WORKDIR}/${P}/network-traffic-analysis-tools
src_prepare() {
sed -i \
-e 's|/man/man1|/share&|g' \
-e 's|$(LDLIBS)|$(LDFLAGS) &|g' \
Makefile || die
default
}
src_compile() {
emake \
CXX="$(tc-getCXX)" \
CXXFLAGS="${CXXFLAGS}"
}
src_install() {
emake PREFIX="${D}/${EPREFIX}/usr" install
dodoc README
}
|