summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-08-06 13:34:16 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-08-06 13:34:16 +0000
commitcfed0d551bff7ea1d671c077e6909a6a06fc16a0 (patch)
tree7e1ac1ef185290699a7ffa93461d909fc0f776f5 /dev-lang
parentStable on alpha, bug 553894 (diff)
downloadgentoo-2-cfed0d551bff7ea1d671c077e6909a6a06fc16a0.tar.gz
gentoo-2-cfed0d551bff7ea1d671c077e6909a6a06fc16a0.tar.bz2
gentoo-2-cfed0d551bff7ea1d671c077e6909a6a06fc16a0.zip
Version bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/scala-bin/ChangeLog7
-rw-r--r--dev-lang/scala-bin/scala-bin-2.11.7.ebuild77
2 files changed, 83 insertions, 1 deletions
diff --git a/dev-lang/scala-bin/ChangeLog b/dev-lang/scala-bin/ChangeLog
index 8aaff998f318..8a7b9c7279ba 100644
--- a/dev-lang/scala-bin/ChangeLog
+++ b/dev-lang/scala-bin/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/scala-bin
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala-bin/ChangeLog,v 1.5 2015/06/14 18:56:32 monsieurp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala-bin/ChangeLog,v 1.6 2015/08/06 13:34:16 monsieurp Exp $
+
+*scala-bin-2.11.7 (06 Aug 2015)
+
+ 06 Aug 2015; Patrice Clement <monsieurp@gentoo.org> +scala-bin-2.11.7.ebuild:
+ Version bump.
14 Jun 2015; Patrice Clement <monsieurp@gentoo.org> -scala-bin-2.11.4.ebuild,
-scala-bin-2.11.5.ebuild:
diff --git a/dev-lang/scala-bin/scala-bin-2.11.7.ebuild b/dev-lang/scala-bin/scala-bin-2.11.7.ebuild
new file mode 100644
index 000000000000..ced628056e69
--- /dev/null
+++ b/dev-lang/scala-bin/scala-bin-2.11.7.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/scala-bin/scala-bin-2.11.7.ebuild,v 1.1 2015/08/06 13:34:16 monsieurp Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc"
+
+inherit java-pkg-2
+
+DESCRIPTION="The Scala Programming Language"
+HOMEPAGE="http://scala.epfl.ch/"
+SRC_URI="http://downloads.typesafe.com/scala/${PV}/scala-${PV}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND=">=virtual/jre-1.6
+ !dev-lang/scala"
+
+S=${WORKDIR}/scala-${PV}
+
+java_prepare() {
+ ebegin 'Cleaning .bat files'
+ rm -f bin/*.bat || die
+ eend $?
+
+ ebegin 'Patching SCALA_HOME variable in bin/ directory'
+ for f in bin/*; do
+ sed -i -e 's#\(SCALA_HOME\)=.*#\1=/usr/share/scala-bin#' $f || die
+ done
+ eend $?
+}
+
+src_install() {
+ ebegin 'Installing bin scripts'
+ dobin bin/*
+ eend $?
+
+ ebegin 'Installing jar files'
+ cd lib/ || die
+
+ # Unversion those libs
+ java-pkg_newjar scala-continuations-library_*.jar scala-continuations-library.jar
+ java-pkg_newjar akka-actor_*.jar akka-actor.jar
+ java-pkg_newjar config-*.jar config.jar
+ java-pkg_newjar scala-actors-2.11.0.jar scala-actors.jar
+ java-pkg_newjar scala-actors-migration_*.jar scala-actors-migration.jar
+ java-pkg_newjar scala-swing_*.jar scala-swing.jar
+ java-pkg_newjar scala-parser-combinators_*.jar scala-parser-combinators.jar
+ java-pkg_newjar scala-xml_*.jar scala-xml.jar
+ java-pkg_newjar jline-*.jar jline.jar
+ java-pkg_newjar scala-continuations-plugin_*.jar scala-continuations-plugin.jar
+ java-pkg_newjar scalap-*.jar scalap.jar
+
+ # Install these the usual way
+ java-pkg_dojar scala-compiler.jar
+ java-pkg_dojar scala-library.jar
+ java-pkg_dojar scala-reflect.jar
+
+ eend $?
+
+ cd ../ || die
+
+ ebegin 'Installing man pages'
+ doman man/man1/*.1
+ eend $?
+
+ if use doc; then
+ ebegin 'Installing documentation'
+ java-pkg_dohtml -r doc/tools
+ eend $?
+ fi
+}