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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20