/[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.2 - (hide annotations) (download)
Fri Aug 5 04:59:21 2011 UTC (8 years, 7 months ago) by zmedico
Branch: MAIN
Changes since 1.1: +6 -5 lines
Bump to EAPI 3, fix for prefix, and add ~x86-linux keyword.

(Portage version: 2.2.0_alpha50_p4/cvs/Linux i686)

1 zmedico 1.2 # Copyright 1999-2011 Gentoo Foundation
2 darkside 1.1 # Distributed under the terms of the GNU General Public License v2
3 zmedico 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/lanmap/lanmap-81-r1.ebuild,v 1.1 2009/12/26 03:16:13 darkside Exp $
4 darkside 1.1
5 zmedico 1.2 EAPI=3
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.2 KEYWORDS="~amd64 ~x86 ~x86-linux"
16 darkside 1.1 IUSE=""
17    
18     RDEPEND="net-libs/libpcap
19     media-gfx/graphviz"
20     DEPEND="${RDEPEND}"
21    
22     S="${WORKDIR}"/${PN}
23    
24     src_prepare() {
25     epatch "${FILESDIR}"/makefile.patch
26 zmedico 1.2 sed -e 's:install -m 0644 -d:install -m 0755 -d:' -i Makefile.in || die
27 darkside 1.1 chmod +x configure || die
28     }
29    
30     src_compile() {
31     emake -j1 CC="$(tc-getCC)" || die
32     }
33    
34     src_install() {
35 zmedico 1.2 emake prefix="${ED}"/usr install || die
36 darkside 1.1 dodoc {README,TODO}.txt || die
37     }

  ViewVC Help
Powered by ViewVC 1.1.20