summaryrefslogtreecommitdiff
path: root/net-misc/nemesis/nemesis-1.4-r2.ebuild
blob: 0d74247451fd2f86ee674b6bdf4f84dd93adea25 (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
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}"/${PN}-1.4-fileio.patch
	"${FILESDIR}"/${PN}-1.4-libnet-1.0.patch
	"${FILESDIR}"/${PN}-1.4-prototcp.patch
	"${FILESDIR}"/${PN}-1.4-fno-common.patch
)

src_prepare() {
	default
	eautoreconf
}