diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-01 11:51:56 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-06-01 11:51:56 +0000 |
commit | d07c717f5cfc6ea4160384198cba027b3fbe93e9 (patch) | |
tree | 8aa9c5a191dc52f0b31ae6d35ebec1da6888414c /sci-geosciences/osm2mp | |
parent | Install also sql file as a document. (diff) | |
download | gentoo-2-d07c717f5cfc6ea4160384198cba027b3fbe93e9.tar.gz gentoo-2-d07c717f5cfc6ea4160384198cba027b3fbe93e9.tar.bz2 gentoo-2-d07c717f5cfc6ea4160384198cba027b3fbe93e9.zip |
Depend on unzip. Fixes bug #369265.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences/osm2mp')
-rw-r--r-- | sci-geosciences/osm2mp/ChangeLog | 7 | ||||
-rw-r--r-- | sci-geosciences/osm2mp/osm2mp-0.80.ebuild | 19 |
2 files changed, 16 insertions, 10 deletions
diff --git a/sci-geosciences/osm2mp/ChangeLog b/sci-geosciences/osm2mp/ChangeLog index efe083715313..743d2082320c 100644 --- a/sci-geosciences/osm2mp/ChangeLog +++ b/sci-geosciences/osm2mp/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-geosciences/osm2mp -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2mp/ChangeLog,v 1.4 2010/05/11 01:00:59 jer Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2mp/ChangeLog,v 1.5 2011/06/01 11:51:56 scarabeus Exp $ + + 01 Jun 2011; Tomáš Chvátal <scarabeus@gentoo.org> osm2mp-0.80.ebuild: + Depend on unzip. Fixes bug #369265. 11 May 2010; Jeroen Roovers <jer@gentoo.org> osm2mp-0.80.ebuild: Exchange newbin arguments thanks to Juergen Rose and HMC (bug #318547). diff --git a/sci-geosciences/osm2mp/osm2mp-0.80.ebuild b/sci-geosciences/osm2mp/osm2mp-0.80.ebuild index 9710a5a840dc..a85afbead65c 100644 --- a/sci-geosciences/osm2mp/osm2mp-0.80.ebuild +++ b/sci-geosciences/osm2mp/osm2mp-0.80.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2mp/osm2mp-0.80.ebuild,v 1.2 2010/05/11 01:00:59 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osm2mp/osm2mp-0.80.ebuild,v 1.3 2011/06/01 11:51:56 scarabeus Exp $ + +EAPI=4 DESCRIPTION="Converts openstreetmap data to mp format (used e. g. by mkgmap)" HOMEPAGE="http://forum.openstreetmap.org/viewtopic.php?id=1162" @@ -11,13 +13,14 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" -DEPEND="dev-perl/Template-Toolkit +RDEPEND="dev-perl/Template-Toolkit virtual/perl-Getopt-Long" -RDEPEND="${DEPEND}" +DEPEND="${RDEPEND} + app-arch/unzip" S="${WORKDIR}" -src_compile() { +src_prepare() { sed -i \ -e 's:poi.cfg:/usr/share/osm2mp/poi.cfg:g' \ -e 's:poly.cfg:/usr/share/osm2mp/poly.cfg:g' \ @@ -26,8 +29,8 @@ src_compile() { } src_install() { - newbin osm2mp.pl osm2mp || die + newbin osm2mp.pl osm2mp insinto /usr/share/osm2mp - doins poi.cfg poly.cfg header.tpl || die - dodoc todo || die + doins poi.cfg poly.cfg header.tp + dodoc todo } |