/[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.1 Revision 1.5
1# Copyright 1999-2009 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.1 2009/12/26 03:16:13 darkside 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=2 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"
11SRC_URI="http://www.parseerror.com/${PN}/rev/${PN}-2006-03-07-rev${PV}.zip" 11SRC_URI="http://www.parseerror.com/${PN}/rev/${PN}-2006-03-07-rev${PV}.zip"
12 12
13LICENSE="GPL-2" 13LICENSE="GPL-2"
14SLOT="0" 14SLOT="0"
15KEYWORDS="~amd64 ~x86" 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
27 sed -e 's:install -m 0644 -d:install -m 0755 -d:' -i Makefile.in || die
26 chmod +x configure || die 28 chmod +x configure || die
27} 29}
28 30
29src_compile() { 31src_compile() {
30 emake -j1 CC="$(tc-getCC)" || die 32 emake -j1 CC="$(tc-getCC)"
31} 33}
32 34
33src_install() { 35src_install() {
34 emake prefix="${D}"/usr install || die 36 emake prefix="${ED}"/usr install
35 dodoc {README,TODO}.txt || die 37 dodoc {README,TODO}.txt
36} 38}

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

  ViewVC Help
Powered by ViewVC 1.1.20