summaryrefslogtreecommitdiff
path: root/dev-util/scala-ide
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/scala-ide
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/scala-ide')
-rw-r--r--dev-util/scala-ide/Manifest3
-rw-r--r--dev-util/scala-ide/metadata.xml11
-rw-r--r--dev-util/scala-ide/scala-ide-4.7.0.ebuild55
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-util/scala-ide/Manifest b/dev-util/scala-ide/Manifest
new file mode 100644
index 000000000000..532b07211a15
--- /dev/null
+++ b/dev-util/scala-ide/Manifest
@@ -0,0 +1,3 @@
+DIST scala-SDK-4.7.0-vfinal-2.12-linux.gtk.x86_64.tar.gz 281266580 BLAKE2B dd7e38385228e5bcb5d9997324e5f9abeba8b9c1a09bb503eb0b10368df89ee48357900123e230341880356f24eb1e3138326970e4dc6bd85204a48422a464b4 SHA512 622f930b665b1187baaa416f3172dc6b48551148c6267fa251e1ab17cdc5c78cccce07371ce909e59af0202d7e9a0126aa9e1d22798e0498f217e7e541e0e1a8
+EBUILD scala-ide-4.7.0.ebuild 1174 BLAKE2B 2334d098ca53d551ba7d2895d0094c92c55fa59377c9be72d63aee6e29748e9895b5059275f10dfb29d70444b215311cba56737b56e229c07e4eb02375fb72dc SHA512 a844721fe8fb090d445b44fa31b291310bd03ce75b4d5ea36f6b4a3a57eb436cefcdb6d2253dc00c7f391188017ceec6f59d54d4bc3914954a6f3e9ed98fae60
+MISC metadata.xml 317 BLAKE2B 47b0d918ff9d4f2287fc0c43a022b978a816aa0d96362cf449210cd6b13810ed1352dbe69c5bea8281cdd3f3d03f4dcf714589e414b27abd5cd8c648e3d64994 SHA512 506fab7ebaa9e1caf96f239d6d85978171b98282ebe22a4948f61df62ce05a4c22772d81159cec9a99dd9a127b602e7593615204142e295d88835f9385a64bc8
diff --git a/dev-util/scala-ide/metadata.xml b/dev-util/scala-ide/metadata.xml
new file mode 100644
index 000000000000..4422c51f84a2
--- /dev/null
+++ b/dev-util/scala-ide/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>monsieurp@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-util/scala-ide/scala-ide-4.7.0.ebuild b/dev-util/scala-ide/scala-ide-4.7.0.ebuild
new file mode 100644
index 000000000000..e7e17c02f4c6
--- /dev/null
+++ b/dev-util/scala-ide/scala-ide-4.7.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-opt-2
+
+# scala-ide -> scalaide
+S_PACK="${PN/-/}-pack"
+
+# scala-ide -> scala-SDK-${PV}
+S_SDK="${PN%-*}-SDK-${PV}"
+
+SRC_URI_AMD64="http://downloads.typesafe.com/${S_PACK}/${PV}-vfinal-oxygen-212-20170929/${S_SDK}-vfinal-2.12-linux.gtk.x86_64.tar.gz"
+SRC_URI_X86="http://downloads.typesafe.com/${S_PACK}/${PV}-vfinal-oxygen-212-20170929/${S_SDK}-vfinal-2.12-linux.gtk.x86_64.tar.gz"
+
+DESCRIPTION="The Scala IDE"
+HOMEPAGE="http://www.scala-ide.org"
+KEYWORDS="amd64 x86"
+SRC_URI="
+ amd64? ( ${SRC_URI_AMD64} )
+ x86? ( ${SRC_URI_X86} )"
+
+SLOT="0"
+LICENSE="BSD"
+
+RDEPEND=">=virtual/jdk-1.6
+ || (
+ dev-lang/scala
+ dev-lang/scala-bin
+ )"
+
+MY_D="/opt"
+
+src_unpack() {
+ default
+ unpack ${A}
+ mv "${WORKDIR}"/eclipse "${WORKDIR}/${P}" || die
+}
+
+src_prepare() {
+ default
+ mv "${WORKDIR}/${P}"/eclipse "${WORKDIR}/${P}/${PN}" || die
+}
+
+src_install() {
+ cd "${D}" || die
+ dodir "${MY_D}"
+ insinto "${MY_D}"
+ doins -r "${WORKDIR}/${P}"
+ insopts -m 0755
+ insinto "${MY_D}/${P}"
+ doins "${WORKDIR}/${P}/${PN}"
+ dosym "${MY_D}/${P}/${PN}" "/usr/bin/${PN}"
+}