summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2008-12-27 16:55:57 +0000
committerHanno Böck <hanno@gentoo.org>2008-12-27 16:55:57 +0000
commit4edeff99261c393ba0080d4462117090dae68df4 (patch)
tree33254af9da19b85fbd1b847f01242561cf9af77a /sci-geosciences
parentamd64 stable, bug 252666 (diff)
downloadgentoo-2-4edeff99261c393ba0080d4462117090dae68df4.tar.gz
gentoo-2-4edeff99261c393ba0080d4462117090dae68df4.tar.bz2
gentoo-2-4edeff99261c393ba0080d4462117090dae68df4.zip
initial commit of osm2mp
(Portage version: 2.2_rc19/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/osm2mp/ChangeLog10
-rw-r--r--sci-geosciences/osm2mp/metadata.xml8
-rw-r--r--sci-geosciences/osm2mp/osm2mp-0.60.ebuild28
3 files changed, 46 insertions, 0 deletions
diff --git a/sci-geosciences/osm2mp/ChangeLog b/sci-geosciences/osm2mp/ChangeLog
new file mode 100644
index 000000000000..77d05ccc5b08
--- /dev/null
+++ b/sci-geosciences/osm2mp/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-geosciences/osm2mp
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2mp/ChangeLog,v 1.1 2008/12/27 16:55:57 hanno Exp $
+
+*osm2mp-0.60 (27 Dec 2008)
+
+ 27 Dec 2008; Hanno Boeck <hanno@gentoo.org> +osm2mp-0.60.ebuild:
+ Initial commit of osm2mp, tool to convert openstreetmap data to polish/mp
+ format.
+
diff --git a/sci-geosciences/osm2mp/metadata.xml b/sci-geosciences/osm2mp/metadata.xml
new file mode 100644
index 000000000000..3beda91ba209
--- /dev/null
+++ b/sci-geosciences/osm2mp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci-geosciences</herd>
+ <maintainer>
+ <email>hanno@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/sci-geosciences/osm2mp/osm2mp-0.60.ebuild b/sci-geosciences/osm2mp/osm2mp-0.60.ebuild
new file mode 100644
index 000000000000..42c689bf0459
--- /dev/null
+++ b/sci-geosciences/osm2mp/osm2mp-0.60.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2mp/osm2mp-0.60.ebuild,v 1.1 2008/12/27 16:55:57 hanno Exp $
+
+DESCRIPTION="Converts openstreetmap data to mp format (used e. g. by mkgmap)"
+HOMEPAGE="http://forum.openstreetmap.org/viewtopic.php?id=1162"
+SRC_URI="http://garminmapsearch.com/osm/${PN}_v${PV/./}.zip"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+DEPEND="dev-perl/Template-Toolkit
+ virtual/perl-Getopt-Long"
+S="${WORKDIR}"
+
+src_compile() {
+ sed -i -e 's:poi.cfg:/usr/share/osm2mp/poi.cfg:g' \
+ -e 's:poly.cfg:/usr/share/osm2mp/poly.cfg:g' \
+ -e 's:header.tpl:/usr/share/osm2mp/header.tpl:g' \
+ osm2mp.pl
+}
+
+src_install() {
+ dobin osm2mp.pl
+ insinto /usr/share/osm2mp
+ doins poi.cfg poly.cfg header.tpl
+ dodoc todo
+}