From 4edeff99261c393ba0080d4462117090dae68df4 Mon Sep 17 00:00:00 2001 From: Hanno Böck Date: Sat, 27 Dec 2008 16:55:57 +0000 Subject: initial commit of osm2mp (Portage version: 2.2_rc19/cvs/Linux 2.6.28 x86_64) --- sci-geosciences/osm2mp/ChangeLog | 10 ++++++++++ sci-geosciences/osm2mp/metadata.xml | 8 ++++++++ sci-geosciences/osm2mp/osm2mp-0.60.ebuild | 28 ++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 sci-geosciences/osm2mp/ChangeLog create mode 100644 sci-geosciences/osm2mp/metadata.xml create mode 100644 sci-geosciences/osm2mp/osm2mp-0.60.ebuild (limited to 'sci-geosciences/osm2mp') 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 +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 @@ + + + + sci-geosciences + + hanno@gentoo.org + + 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 +} -- cgit v1.2.3-65-gdbad