1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit base eutils python
11 DESCRIPTION="An offline map viewer for Google Maps, OpenStreetMap and others."
12 HOMEPAGE="http://code.google.com/p/gmapcatcher/"
13 SRC_URI="http://gmapcatcher.googlecode.com/files/mapcatcher_${PV}.tar.gz"
17 KEYWORDS="~x86 ~amd64"
21 DEPEND="|| ( dev-lang/python:2.6 dev-lang/python:2.7 )
26 virtual/python-imaging"
29 S="${WORKDIR}/mapcatcher-${PV}"
33 python_set_active_version 2
38 python_convert_shebangs -r 2 .
42 domenu gmapcatcher.desktop
43 newicon images/map.png mapcatcher.png
47 insinto $(python_get_sitedir)
48 doins -r gmapcatcher || die
51 doexe mapcatcher || die
52 doexe mapdownloader || die
53 doexe mapexport.py || die