blob: ecc73ef8c9bcf22c3f15d690e4aecc28a3086706 (
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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thc-ipv6/thc-ipv6-1.2.ebuild,v 1.1 2010/09/15 01:49:58 xmw Exp $
EAPI=2
inherit eutils toolchain-funcs
DESCRIPTION="complete tool set to attack the inherent protocol weaknesses of IPV6 and ICMP6"
HOMEPAGE="http://freeworld.thc.org/thc-ipv6/"
SRC_URI="http://freeworld.thc.org/releases/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="net-libs/libpcap
dev-libs/openssl"
RDEPEND="${DEPEND}"
src_prepare() {
rm Makefile || die
cp "${FILESDIR}"/${P}-Makefile Makefile || die
epatch "${FILESDIR}"/${P}-header.patch
}
src_compile() {
emake CC="$(tc-getCC)" || die
}
src_install() {
emake DESTDIR="${D}" PREFIX="/usr" install || die
dodoc CHANGES README || die
}
|