summaryrefslogtreecommitdiff
blob: 2dab97c5d4c0c4c5b1f16dbd8df3af9170f9e2e4 (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
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Simple TCP/IP Dump summarizer/analyzer"
HOMEPAGE="http://read.seas.harvard.edu/~kohler/ipsumdump/"
SRC_URI="http://read.seas.harvard.edu/~kohler/ipsumdump/${P}.tar.gz"

LICENSE="the-Click-license"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+ipv6 +nanotimestamp"

RDEPEND="
	net-libs/libpcap
"
DEPEND="
	${RDEPEND}
	dev-lang/perl
	dev-libs/expat
	sys-apps/texinfo
	virtual/os-headers
"
DOCS=(
	NEWS.md
	README.md
)
PATCHES=(
	"${FILESDIR}"/${PN}-1.86-SIOCGSTAMP.patch
)

src_configure() {
	econf \
		$(use_enable ipv6 ip6) \
		$(use_enable nanotimestamp)
}