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

EAPI=7

DESCRIPTION="Layer Four Traceroute (LFT) and WhoB"
HOMEPAGE="http://pwhois.org/lft/"
SRC_URI="http://pwhois.org/get/${P}.tar.gz"

LICENSE="VOSTROM"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"

DEPEND="
	net-libs/libpcap
"
RDEPEND="
	${DEPEND}
"
DOCS=( CHANGELOG README TODO )
PATCHES=(
	"${FILESDIR}"/${PN}-3.91-strip.patch
)

src_prepare() {
	sed -i \
		-e 's|_BSD_SOURCE|_DEFAULT_SOURCE|g' \
		configure config/acconfig.h.in || die
	default
}