summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-12-19 15:50:18 +0100
committerPatrice Clement <monsieurp@gentoo.org>2016-12-19 15:50:18 +0100
commit6f225eb9ffab9a85d300feebf090439d8a5db8e1 (patch)
tree65d3d8949495c6fc11d06e93485a400e5a5e22a2 /dev-lang/scala-bin
parentdev-lang/scala-bin: stable for amd64+x86. (diff)
downloadgentoo-6f225eb9ffab9a85d300feebf090439d8a5db8e1.tar.gz
gentoo-6f225eb9ffab9a85d300feebf090439d8a5db8e1.tar.bz2
gentoo-6f225eb9ffab9a85d300feebf090439d8a5db8e1.zip
dev-lang/scala-bin: minor cleanup.
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-lang/scala-bin')
-rw-r--r--dev-lang/scala-bin/scala-bin-2.11.8.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-lang/scala-bin/scala-bin-2.11.8.ebuild b/dev-lang/scala-bin/scala-bin-2.11.8.ebuild
index e89885f475b1..6c3ec37b22b7 100644
--- a/dev-lang/scala-bin/scala-bin-2.11.8.ebuild
+++ b/dev-lang/scala-bin/scala-bin-2.11.8.ebuild
@@ -1,26 +1,29 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-
EAPI=6
JAVA_PKG_IUSE="doc"
inherit java-pkg-2
+MY_PN="${PN%-*}"
+MY_P="${MY_PN}-${PV}"
+
DESCRIPTION="The Scala Programming Language"
HOMEPAGE="http://scala.epfl.ch/"
-SRC_URI="http://downloads.typesafe.com/scala/${PV}/scala-${PV}.tgz"
+SRC_URI="http://downloads.lightbend.com/${MY_PN}/${PV}/${MY_P}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc"
-RDEPEND=">=virtual/jre-1.6
+RDEPEND="
+ >=virtual/jre-1.6
!dev-lang/scala"
-S="${WORKDIR}/scala-${PV}"
+S="${WORKDIR}/${MY_P}"
src_prepare() {
default