summaryrefslogtreecommitdiff
blob: 72284beaad76572d464be76b8d0b965eb6a1ff28 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
inherit autotools eutils

MY_P=${P/_/}
MY_P=${MY_P/-/_}
DESCRIPTION="powerful tool for testing stability of hardware and software utilizing IP protocols"
HOMEPAGE="http://www.mirrors.wiretapped.net/security/packet-construction/rain/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86"
SRC_URI="
	mirror://ubuntu/pool/universe/r/${PN}/${MY_P}.orig.tar.gz
	mirror://ubuntu/pool/universe/r/${PN}/${MY_P}-1.diff.gz
"

S="${WORKDIR}/${MY_P/_/-}"

src_prepare() {
	epatch "${WORKDIR}"/${MY_P}-1.diff
	epatch "${FILESDIR}"/${P}-gentoo.patch

	eautoreconf
}

DOCS=( BUGS CHANGES README TODO )