summaryrefslogtreecommitdiff
blob: 7164dc4eacc77334bef1bb33af0d823d25924672 (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
31
32
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

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="~x86"
IUSE="+data"

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

pkg_setup() {
	check_license "${FILESDIR%/files}"/../../licenses/${LICENSE}
}

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
}