From dc3cfa295a70eb4aa47659d8658c785055749ff0 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Mon, 23 Aug 2010 10:50:13 +0200 Subject: [PATCH] add sci-geosciences/gmapcatcher-0.7.5.0 --- .../gmapcatcher/gmapcatcher-0.7.5.0.ebuild | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 sci-geosciences/gmapcatcher/gmapcatcher-0.7.5.0.ebuild diff --git a/sci-geosciences/gmapcatcher/gmapcatcher-0.7.5.0.ebuild b/sci-geosciences/gmapcatcher/gmapcatcher-0.7.5.0.ebuild new file mode 100644 index 0000000..dff9708 --- /dev/null +++ b/sci-geosciences/gmapcatcher/gmapcatcher-0.7.5.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit eutils + +DESCRIPTION="An offline map viewer for Google Maps, OpenStreetMap and others." +HOMEPAGE="http://code.google.com/p/gmapcatcher/" +SRC_URI="http://gmapcatcher.googlecode.com/files/GMapCatcher-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +RESTRICT="mirror" +IUSE="" + +DEPEND="dev-lang/python:2.6 + x11-libs/gtk+ + dev-python/pygtk + dev-python/pygobject + dev-python/pycairo + dev-python/imaging" +RDEPEND="${DEPEND}" + + +src_install() { + + base=GMapCatcher-${PV} + + + domenu ${base}/gmapcatcher.desktop + newicon ${base}/images/map.png mapcatcher.png + doman ${base}/man/* + dodoc ${base}/README + + insinto /usr/share/${PF}/ + doins -r ${base}/gmapcatcher || die + + exeinto /usr/share/${PF}/ + doexe ${base}/maps.py || die + doexe ${base}/download.py || die + + dosym ../share/${PF}/maps.py /usr/bin/mapcatcher + dosym ../share/${PF}/download.py /usr/bin/mapdownloader +} + + + -- 2.39.5