blob: 45666a877bfae3a0d6f832cf78f90103bc0aeea9 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit eutils
SR=SR${PV#*.*.}
SRC_BASE="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/juno/${SR}/eclipse-java-juno-${SR}-linux-gtk"
DESCRIPTION="Eclipse SDK"
HOMEPAGE="http://www.eclipse.org"
SRC_URI="
amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-juno-${SR}-linux-gtk-x86_64-${PV}.tar.gz )
x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-juno-${SR}-linux-gtk-${PV}.tar.gz )"
LICENSE="EPL-1.0"
SLOT="4.2"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
>=virtual/jdk-1.6
x11-libs/gtk+:2"
S=${WORKDIR}/eclipse
src_install() {
local dest=/opt/${PN}-${SLOT}
insinto ${dest}
doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins
exeinto ${dest}
doexe eclipse
dohtml -r about.html about_files epl-v10.html notice.html readme/*
insinto /etc
doins "${FILESDIR}"/eclipserc-bin-${SLOT}
dobin "${FILESDIR}"/eclipse-bin-${SLOT}
make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
}
|