blob: a86b9618cd593888af0bfa41e775bfc2ac8b5950 (
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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netdiscover/netdiscover-0.3_beta6-r3.ebuild,v 1.1 2009/10/17 14:26:46 pva Exp $
EAPI="2"
inherit eutils autotools
MY_PV="${PV/_/-}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="An active/passive address reconnaissance tool."
HOMEPAGE="http://nixgeneration.com/~jaime/netdiscover/"
SRC_URI="http://nixgeneration.com/~jaime/netdiscover/releases/${MY_P}.tar.gz
mirror://gentoo/netdiscover-0.3-beta6-oui-db-update-20091010.patch.bz2"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
DEPEND=">=net-libs/libnet-1.1.2.1-r1
>=net-libs/libpcap-0.8.3-r1"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${WORKDIR}"/netdiscover-0.3-beta6-oui-db-update-20091010.patch
sed '/char tmac/{s:6:7:}' -i src/misc.c || die #, drop in beta7
# Avoid installation of ChangeLog, LICENSE, etc. We do this ourselves.
sed -i 's:netdiscoverdoc:noinst:' Makefile.am
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "Make install failed."
dodoc AUTHORS ChangeLog README TODO
}
|