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

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

  ViewVC Help
Powered by ViewVC 1.1.20