/[gentoo-x86]/net-misc/lanmap/lanmap-81-r1.ebuild
Gentoo

Contents of /net-misc/lanmap/lanmap-81-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Thu Sep 26 01:29:27 2013 UTC (6 years, 5 months ago) by zerochaos
Branch: MAIN
Changes since 1.4: +7 -6 lines
fix bug 485878 and bump eapi

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 zmedico 1.4 # Copyright 1999-2013 Gentoo Foundation
2 darkside 1.1 # Distributed under the terms of the GNU General Public License v2
3 zerochaos 1.5 # $Header: /var/cvsroot/gentoo-x86/net-misc/lanmap/lanmap-81-r1.ebuild,v 1.4 2013/02/22 20:59:09 zmedico Exp $
4 darkside 1.1
5 zerochaos 1.5 EAPI=5
6 darkside 1.1
7     inherit toolchain-funcs eutils
8    
9     DESCRIPTION="lanmap sits quietly on a network and builds a picture of what it sees"
10     HOMEPAGE="http://www.parseerror.com/lanmap"
11     SRC_URI="http://www.parseerror.com/${PN}/rev/${PN}-2006-03-07-rev${PV}.zip"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 zmedico 1.4 KEYWORDS="~amd64 ~x86 ~amd64-linux ~arm-linux ~x86-linux"
16 darkside 1.1 IUSE=""
17    
18     RDEPEND="net-libs/libpcap
19     media-gfx/graphviz"
20 zerochaos 1.5 DEPEND="${RDEPEND}
21     app-arch/unzip"
22 darkside 1.1
23     S="${WORKDIR}"/${PN}
24    
25     src_prepare() {
26     epatch "${FILESDIR}"/makefile.patch
27 zmedico 1.2 sed -e 's:install -m 0644 -d:install -m 0755 -d:' -i Makefile.in || die
28 darkside 1.1 chmod +x configure || die
29     }
30    
31     src_compile() {
32 zerochaos 1.5 emake -j1 CC="$(tc-getCC)"
33 darkside 1.1 }
34    
35     src_install() {
36 zerochaos 1.5 emake prefix="${ED}"/usr install
37     dodoc {README,TODO}.txt
38 darkside 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20