summaryrefslogtreecommitdiff
blob: 5a09a552b417110955d12e8529192957bb5bc76e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="5"

inherit eutils

DESCRIPTION="Proprietary freeware multimedia map of several Russian and Ukrainian towns"
HOMEPAGE="http://2gis.ru"
SRC_URI="http://download.2gis.ru/arhives/2GISShell-${PV}.orig.zip"

LICENSE="2Gis-ru"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+data"

DEPEND="app-arch/unzip"
RDEPEND="app-emulation/wine
	data? ( app-misc/2gis-data )"

S="${WORKDIR}"

src_install() {
	insinto /opt/${PN}
	doins -r 2gis/3.0/* || die

	make_wrapper 2gis "wine grym.exe -nomta" /opt/${PN}
	make_desktop_entry 2gis 2Gis || die
}