From: Patrice Clement Date: Wed, 19 Aug 2015 21:58:38 +0000 (+0000) Subject: dev-util/scala-ide: Version bump. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=401e405b6ff74d0489d0ac311ea747a1db04c524;p=gentoo.git dev-util/scala-ide: Version bump. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- diff --git a/dev-util/scala-ide/Manifest b/dev-util/scala-ide/Manifest index f5a6019d6734..df481840f382 100644 --- a/dev-util/scala-ide/Manifest +++ b/dev-util/scala-ide/Manifest @@ -1,2 +1,3 @@ DIST scala-SDK-4.1.0-vfinal-2.11-linux.gtk.x86.tar.gz 232347349 SHA256 1d7054b49195b598d469a2d56971f67aa219c6043cb8209f8c8608160c4df7ad SHA512 f3d8bff300ee772e07f9c9287c37428d5ddf50bd750dcc86b6a28d9ad5a0b891fa8ce810599e754ac06bf48786a9c58b981055c29976c37b2c530466591d171a WHIRLPOOL f584d8d6e129f5464f9eb44ab7137e230dc0b701e07d3569a7975e35a5ecc2a4f6b81e085486f36867b00a9715e1e25b5cd29294c638abe195f4a60677aa61f9 DIST scala-SDK-4.1.0-vfinal-2.11-linux.gtk.x86_64.tar.gz 232491001 SHA256 d3e9efe1176d979dc0fe2a9457f70068b5a3fd23635a07bcd5639e2345897aca SHA512 d5b8fe3cb3d6623e2f29e0ad5d279b363143c9b392ea5d91092ecb9de765828ac0c50c74ff879f7c825099b22a833ad3acbb0c2cfcd51c769ee19082905b63eb WHIRLPOOL 8007d41e9695c6ae5c3094906ebc6fba263d8d005f6763ce70eb4398db266ea1aff64bc4bc24bc216d0e869e839a92298bb3f85f8149608dd2986d36a3863def +DIST scala-SDK-4.1.1-vfinal-2.11-linux.gtk.x86_64.tar.gz 234952144 SHA256 8cafc34e8456224dcfd23b0405af8f50ae1cc03587d5efbd1ec27082a7b797c1 SHA512 e44ea7d6d9d03ef1631fb839a63453870997309861bfe25434c256730b3fa28c7eb392489140473e4844a49e64f009d88093f501d8fe19f8d2e5e06bf36c437a WHIRLPOOL d614acb12faa7e56671ff74fe60f5044e94e5ef51c983fd916e74b76c2a23e0e34cf640f4063590f371e5129e82c5928cf955fbaadf36ec5caa6615205cfa978 diff --git a/dev-util/scala-ide/scala-ide-4.1.1.ebuild b/dev-util/scala-ide/scala-ide-4.1.1.ebuild new file mode 100644 index 000000000000..ec041844cb71 --- /dev/null +++ b/dev-util/scala-ide/scala-ide-4.1.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ +EAPI=5 + +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-luna-211-20150728/${S_SDK}-vfinal-2.11-linux.gtk.x86_64.tar.gz" +SRC_URI_X86="http://downloads.typesafe.com/${S_PACK}/${PV}-vfinal-luna-211-20150728/${S_SDK}-vfinal-2.11-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}" +} + +src_prepare() { + mv "${WORKDIR}"/"${P}"/eclipse "${WORKDIR}"/"${P}"/"${PN}" +} + +src_install() { + cd "${D}" || die + dodir "${MY_D}" || die + insinto "${MY_D}" + doins -r "${WORKDIR}"/"${P}" || die + insopts -m 0755 + insinto "${MY_D}"/"${P}" + doins "${WORKDIR}"/"${P}"/"${PN}" || die + dosym ${MY_D}/${P}/${PN} /usr/bin/${PN} || die +}