summaryrefslogtreecommitdiff
blob: 8d5ea5061b5ece4fabfffaf99ab37acd56e675fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/geotrace/geotrace-0.0.4.ebuild,v 1.11 2003/02/13 13:40:36 vapier Exp $

S=${WORKDIR}/${P}
DESCRIPTION="geographical traceroute utility"
SRC_URI="http://geotrace.sourceforge.net/releases/${P}.tar.gz"
HOMEPAGE="http://geotrace.sourceforge.net/"

DEPEND="=x11-libs/gtk+-1.2*
	>=media-libs/gdk-pixbuf-0.16.0-r1"

RDEPEND="net-analyzer/traceroute"

SLOT="0"
LICENSE="BSD GPL-2"
KEYWORDS="x86 sparc "

src_unpack() {
	unpack ${A}
	cd ${S}
	patch -p1 < ${FILESDIR}/geotrace-map-location.patch
}

src_compile() {
	emake || die
}

src_install () {
	install -d ${D}/usr/bin
	install -d ${D}/usr/share/geotrace
	install -d ${D}/usr/share/geotrace/maps
	install -m755 geotrace ${D}/usr/bin
	install -m644 maps/* ${D}/usr/share/geotrace/maps
	dodoc Changelog COPYRIGHT README
}