Add sci-geosciences/gmapcatcher-0.8.0.0
[shuber-gentoo-overlay.git] / sci-geosciences / gmapcatcher / gmapcatcher-0.7.2.0.ebuild
1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=3
6
7 inherit eutils
8
9 DESCRIPTION="An offline map viewer for Google Maps, OpenStreetMap and others."
10 HOMEPAGE="http://code.google.com/p/gmapcatcher/"
11 SRC_URI="http://gmapcatcher.googlecode.com/files/GMapCatcher-${PV}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~x86 ~amd64"
16 RESTRICT="mirror"
17 IUSE=""
18
19 DEPEND="dev-lang/python:2.6
20 x11-libs/gtk+
21 dev-python/pygtk
22 dev-python/pygobject
23 dev-python/pycairo
24 dev-python/imaging"
25 RDEPEND="${DEPEND}"
26
27
28 src_install() {
29
30 base=GMapCatcher-${PV}
31
32
33 domenu ${base}/gmapcatcher.desktop
34 newicon ${base}/images/map.png mapcatcher.png
35 doman ${base}/man/*
36 dodoc ${base}/README
37
38 insinto /usr/share/${PF}/
39 doins -r ${base}/gmapcatcher || die
40
41 exeinto /usr/share/${PF}/
42 doexe ${base}/maps.py || die
43 doexe ${base}/download.py || die
44
45 dosym ../share/${PF}/maps.py /usr/bin/mapcatcher
46 dosym ../share/${PF}/download.py /usr/bin/mapdownloader
47 }
48
49
50