summaryrefslogtreecommitdiff
blob: 686bf143ac8aebe91a84b721d8a52d0ad3f321a0 (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
38
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit toolchain-funcs eutils

DESCRIPTION="lanmap sits quietly on a network and builds a picture of what it sees"
HOMEPAGE="http://www.parseerror.com/lanmap"
SRC_URI="http://www.parseerror.com/${PN}/rev/${PN}-2006-03-07-rev${PV}.zip"

LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""
RDEPEND="net-libs/libpcap
	 media-gfx/graphviz[png]"

DEPEND="${RDEPEND}"

S="${WORKDIR}"/${PN}

src_prepare() {
	chmod +x configure
	epatch "${FILESDIR}"/makefile.patch
}

src_compile() {
	emake CC="$(tc-getCC)" || die
}

src_install() {
	emake prefix="${D}"/usr install || die
	dodoc {README,TODO}.txt || die
}