1 |
commit: 180643d019bd4c00537d7c445338ce5db1f3cefb |
2 |
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Feb 18 18:57:08 2018 +0000 |
4 |
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Feb 18 18:57:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/ssnb.git/commit/?id=180643d0 |
7 |
|
8 |
eclipse update |
9 |
|
10 |
.../eclipse-sdk-bin/eclipse-sdk-bin-4.7.2.ebuild | 51 ++++++++++++++++++++++ |
11 |
1 file changed, 51 insertions(+) |
12 |
|
13 |
diff --git a/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.7.2.ebuild b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.7.2.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..73b345e |
16 |
--- /dev/null |
17 |
+++ b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.7.2.ebuild |
18 |
@@ -0,0 +1,51 @@ |
19 |
+# Copyright 1999-2014 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Header: $ |
22 |
+ |
23 |
+EAPI=5 |
24 |
+ |
25 |
+inherit eutils versionator |
26 |
+ |
27 |
+SR="2" |
28 |
+RNAME="oxygen" |
29 |
+ |
30 |
+SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk" |
31 |
+ |
32 |
+DESCRIPTION="Eclipse SDK" |
33 |
+HOMEPAGE="http://www.eclipse.org" |
34 |
+SRC_URI=" |
35 |
+ amd64? ( ${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz ) |
36 |
+ x86? ( ${SRC_BASE}.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-${PV}.tar.gz )" |
37 |
+ |
38 |
+LICENSE="EPL-1.0" |
39 |
+SLOT="4.7" |
40 |
+KEYWORDS="~x86 ~amd64" |
41 |
+IUSE="" |
42 |
+ |
43 |
+RDEPEND=" |
44 |
+ >=virtual/jdk-1.8 |
45 |
+ x11-libs/gtk+:2" |
46 |
+ |
47 |
+S=${WORKDIR}/eclipse |
48 |
+ |
49 |
+src_install() { |
50 |
+ local dest=/opt/${PN}-${SLOT} |
51 |
+ |
52 |
+ insinto ${dest} |
53 |
+ doins -r features icon.xpm plugins artifacts.xml p2 eclipse.ini configuration dropins |
54 |
+ |
55 |
+ exeinto ${dest} |
56 |
+ doexe eclipse |
57 |
+ |
58 |
+ dohtml -r readme/* |
59 |
+ |
60 |
+ cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die |
61 |
+ cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die |
62 |
+ sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die |
63 |
+ |
64 |
+ insinto /etc |
65 |
+ newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT} |
66 |
+ |
67 |
+ newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT} |
68 |
+ make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm" |
69 |
+} |