summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2002-02-17 21:27:40 +0000
committerAron Griffis <agriffis@gentoo.org>2002-02-17 21:27:40 +0000
commit28fb9c6742f2a6f086b9a76b5c94e1e6922d94b5 (patch)
tree2bc4ecbd851eacb27b4d5668d163beb27441422d /net-analyzer
parentfix need to merge twice for working installation (diff)
downloadgentoo-2-28fb9c6742f2a6f086b9a76b5c94e1e6922d94b5.tar.gz
gentoo-2-28fb9c6742f2a6f086b9a76b5c94e1e6922d94b5.tar.bz2
gentoo-2-28fb9c6742f2a6f086b9a76b5c94e1e6922d94b5.zip
Added ebuild for geotrace
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/geotrace/ChangeLog9
-rw-r--r--net-analyzer/geotrace/files/digest-geotrace-0.0.41
-rw-r--r--net-analyzer/geotrace/files/geotrace-map-location.patch11
-rw-r--r--net-analyzer/geotrace/geotrace-0.0.4.ebuild31
4 files changed, 52 insertions, 0 deletions
diff --git a/net-analyzer/geotrace/ChangeLog b/net-analyzer/geotrace/ChangeLog
new file mode 100644
index 000000000000..105125781ad0
--- /dev/null
+++ b/net-analyzer/geotrace/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-analyzer/geotrace
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/geotrace/ChangeLog,v 1.1 2002/02/17 21:27:40 agriffis Exp $
+
+*geotrace-0.0.4 (17 Feb 2002)
+
+ 17 Feb 2002; Aron Griffis <agriffis@gentoo.org> geotrace-0.0.4.ebuild, files/geotrace-map-location.patch:
+
+ New ebuild for geotrace, a geographical traceroute utility.
diff --git a/net-analyzer/geotrace/files/digest-geotrace-0.0.4 b/net-analyzer/geotrace/files/digest-geotrace-0.0.4
new file mode 100644
index 000000000000..ad7c935f5d1a
--- /dev/null
+++ b/net-analyzer/geotrace/files/digest-geotrace-0.0.4
@@ -0,0 +1 @@
+MD5 d56b28838feb2e5e4e5df168d11a99af geotrace-0.0.4.tar.gz 248218
diff --git a/net-analyzer/geotrace/files/geotrace-map-location.patch b/net-analyzer/geotrace/files/geotrace-map-location.patch
new file mode 100644
index 000000000000..4fe0d20fcd09
--- /dev/null
+++ b/net-analyzer/geotrace/files/geotrace-map-location.patch
@@ -0,0 +1,11 @@
+--- geotrace-0.0.4/prefs.h Wed Apr 18 10:50:29 2001
++++ geotrace-0.0.4/prefs.h.new Wed Apr 18 19:26:49 2001
+@@ -3,7 +3,7 @@
+ #define TIMEOUT_DEF 5
+ #define RESOLVE_DEF 1
+ #define GEO_PREFS_FILE ".geotrace"
+-#define MAPS_DIR_DEF "maps/"
++#define MAPS_DIR_DEF "/usr/share/geotrace/maps/"
+ #define START_MAP_DEF "World50.gif"
+ #define LINE_COLOR_RED_DEF 0
+ #define LINE_COLOR_GREEN_DEF 0
diff --git a/net-analyzer/geotrace/geotrace-0.0.4.ebuild b/net-analyzer/geotrace/geotrace-0.0.4.ebuild
new file mode 100644
index 000000000000..7131c0406cca
--- /dev/null
+++ b/net-analyzer/geotrace/geotrace-0.0.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Aron Griffis <agriffis@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/geotrace/geotrace-0.0.4.ebuild,v 1.1 2002/02/17 21:27:40 agriffis Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="geographical traceroute utility"
+SRC_URI="http://geotrace.sourceforge.net/releases/${P}.tar.gz"
+HOMEPAGE="http://geotrace.sourceforge.net/"
+
+DEPEND=">=gtk+-1.2.10-r4
+ >=gdk-pixbuf-0.16.0-r1"
+
+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
+}