blob: 7ca6fea1a30ee844357db19a0049e60d96805ee4 (
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
|
# 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-r2.ebuild,v 1.1 2009/10/11 08:52:18 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
# 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
}
|