]> git.sthu.org Git - shuber-gentoo-overlay.git/commitdiff
adding first version of sci-geosciences/gmapcatcher-0.7.2.0
authorStefan Huber <shuber2@gmail.com>
Sun, 22 Aug 2010 12:16:18 +0000 (14:16 +0200)
committerStefan Huber <shuber2@gmail.com>
Sun, 22 Aug 2010 12:16:18 +0000 (14:16 +0200)
sci-geosciences/gmapcatcher/gmapcatcher-0.7.2.0.ebuild [new file with mode: 0644]

diff --git a/sci-geosciences/gmapcatcher/gmapcatcher-0.7.2.0.ebuild b/sci-geosciences/gmapcatcher/gmapcatcher-0.7.2.0.ebuild
new file mode 100644 (file)
index 0000000..b126270
--- /dev/null
@@ -0,0 +1,49 @@
+# 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"
+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
+}
+
+
+