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

EAPI=6
inherit autotools

DESCRIPTION="A commandline-based, portable human IP stack for UNIX/Linux"
HOMEPAGE="http://nemesis.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 sparc x86"

RDEPEND="
	net-libs/libpcap
"
DEPEND="
	${RDEPEND}
	=net-libs/libnet-1.0*
"

DOCS="CREDITS ChangeLog README"

PATCHES=(
	"${FILESDIR}"/${P}-fileio.patch
	"${FILESDIR}"/${P}-libnet-1.0.patch
	"${FILESDIR}"/${P}-prototcp.patch
)

src_prepare() {
	default
	eautoreconf
}