aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Bernardo <samuelbernardo.mail@gmail.com>2019-01-27 23:34:27 +0000
committerSamuel Bernardo <samuelbernardo.mail@gmail.com>2019-01-27 23:46:42 +0000
commitabfb07752d6dd6d07e7d71913643d2f0b65c90f1 (patch)
tree9b46e13f56420be4762d48dee0ba64ac0b5293c2 /dev-util/eclipse-sdk-bin
parentupdate idea-ultimate and rubymine (diff)
downloadssnb-abfb07752d6dd6d07e7d71913643d2f0b65c90f1.tar.gz
ssnb-abfb07752d6dd6d07e7d71913643d2f0b65c90f1.tar.bz2
ssnb-abfb07752d6dd6d07e7d71913643d2f0b65c90f1.zip
update eclipse and apachedirectorystudio
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'dev-util/eclipse-sdk-bin')
-rw-r--r--dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.10.1.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.10.1.ebuild b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.10.1.ebuild
new file mode 100644
index 0000000..25155b5
--- /dev/null
+++ b/dev-util/eclipse-sdk-bin/eclipse-sdk-bin-4.10.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+
+inherit eutils versionator
+
+SR="R"
+RNAME="2018-12"
+
+SRC_BASE="https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/${RNAME}/${SR}/eclipse-java-${RNAME}-${SR}-linux-gtk"
+
+DESCRIPTION="Eclipse SDK"
+HOMEPAGE="http://www.eclipse.org"
+SRC_URI="${SRC_BASE}-x86_64.tar.gz&r=1 -> eclipse-java-${RNAME}-${SR}-linux-gtk-x86_64-${PV}.tar.gz"
+
+LICENSE="EPL-1.0"
+SLOT="4.10"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jdk-1.8
+ 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 readme/*
+
+ cp "${FILESDIR}"/eclipserc-bin-${SLOT} "${T}" || die
+ cp "${FILESDIR}"/eclipse-bin-${SLOT} "${T}" || die
+ sed "s@%SLOT%@${SLOT}@" -i "${T}"/eclipse{,rc}-bin-${SLOT} || die
+
+ insinto /etc
+ newins "${T}"/eclipserc-bin-${SLOT} eclipserc-bin-${SLOT}
+
+ newbin "${T}"/eclipse-bin-${SLOT} eclipse-bin-${SLOT}
+ make_desktop_entry "eclipse-bin-${SLOT}" "Eclipse ${PV} (bin)" "${dest}/icon.xpm"
+}