| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thc-ipv6/thc-ipv6-1.4.ebuild,v 1.2 2011/03/29 04:14:07 vapier Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
|
| 7 |
inherit eutils toolchain-funcs
|
| 8 |
|
| 9 |
DESCRIPTION="complete tool set to attack the inherent protocol weaknesses of IPV6 and ICMP6"
|
| 10 |
HOMEPAGE="http://freeworld.thc.org/thc-ipv6/"
|
| 11 |
SRC_URI="http://freeworld.thc.org/releases/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-3"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
DEPEND="net-libs/libpcap
|
| 19 |
dev-libs/openssl"
|
| 20 |
RDEPEND="${DEPEND}"
|
| 21 |
|
| 22 |
src_prepare() {
|
| 23 |
epatch "${FILESDIR}"/${P}-Makefile.patch
|
| 24 |
}
|
| 25 |
|
| 26 |
src_compile() {
|
| 27 |
emake CC="$(tc-getCC)" || die
|
| 28 |
}
|
| 29 |
|
| 30 |
src_install() {
|
| 31 |
emake DESTDIR="${D}" PREFIX="/usr" install || die
|
| 32 |
|
| 33 |
dodoc CHANGES README || die
|
| 34 |
}
|