29 lines
727 B
Bash
29 lines
727 B
Bash
# Copyright 1999-2006 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thcrut/thcrut-1.2.5.ebuild,v 1.11 2006/02/17 16:22:38 jokey Exp $
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="Network discovery and fingerprinting tool"
|
|
HOMEPAGE="http://www.thc.org/thc-rut/"
|
|
SRC_URI="http://www.thc.org/thc-rut/${P}.tar.gz"
|
|
|
|
LICENSE="as-is"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~ppc sparc x86"
|
|
IUSE=""
|
|
|
|
DEPEND="net-libs/libpcap
|
|
<net-libs/libnet-1.1"
|
|
|
|
src_unpack() {
|
|
unpack ${A}
|
|
cd "${S}"
|
|
rm -rf Libnet-1.0.2a
|
|
epatch "${FILESDIR}"/${PV}-libnet.patch
|
|
}
|
|
|
|
src_install() {
|
|
make install DESTDIR="${D}" || die "make install failed"
|
|
dodoc ChangeLog FAQ README TODO thcrutlogo.txt
|
|
}
|