diff options
author | Vlastimil Babka <caster@gentoo.org> | 2007-05-04 17:22:19 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2007-05-04 17:22:19 +0000 |
commit | 26fff7293d4b414df9a4d2a9726a54dbffc2aad4 (patch) | |
tree | 2c400c5ba3d755e3d24f4d08fe187b5a947394d0 /dev-lang/scala/files | |
parent | Export LANG="C" LC_ALL="C" for all JDK's and not just IBM. Fixes bug #170367 ... (diff) | |
download | gentoo-2-26fff7293d4b414df9a4d2a9726a54dbffc2aad4.tar.gz gentoo-2-26fff7293d4b414df9a4d2a9726a54dbffc2aad4.tar.bz2 gentoo-2-26fff7293d4b414df9a4d2a9726a54dbffc2aad4.zip |
Initial ebuild, intended to replace dev-java/scala-bin with from-source package in more appropriate category. Based on ebuilds from Michel Ganguin <ganguin@romandie.com> and John Reed Riley <john.reed.riley@gmail.com> in bug #147599.
(Portage version: 2.1.2.5)
Diffstat (limited to 'dev-lang/scala/files')
-rw-r--r-- | dev-lang/scala/files/digest-scala-2.4.0 | 3 | ||||
-rw-r--r-- | dev-lang/scala/files/scala-2.4.0-build.xml.patch | 79 |
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-lang/scala/files/digest-scala-2.4.0 b/dev-lang/scala/files/digest-scala-2.4.0 new file mode 100644 index 000000000000..910d0137dd3f --- /dev/null +++ b/dev-lang/scala/files/digest-scala-2.4.0 @@ -0,0 +1,3 @@ +MD5 14cf470ffc730161f7c8810f1545d9c2 scala-2.4.0-final-sources.tgz 7882898 +RMD160 7430c39beb877b96cfb9e7e0c8509e0ce601e7c1 scala-2.4.0-final-sources.tgz 7882898 +SHA256 a3fc202bdc4988697a830ab1cace8c30350fdf1b6f46d8860289efc49de5b486 scala-2.4.0-final-sources.tgz 7882898 diff --git a/dev-lang/scala/files/scala-2.4.0-build.xml.patch b/dev-lang/scala/files/scala-2.4.0-build.xml.patch new file mode 100644 index 000000000000..f542a80c2d07 --- /dev/null +++ b/dev-lang/scala/files/scala-2.4.0-build.xml.patch @@ -0,0 +1,79 @@ +--- build.xml.orig 2007-03-21 17:53:06.000000000 +0100 ++++ build.xml 2007-05-04 13:53:33.000000000 +0200 +@@ -86,11 +86,13 @@ + <!-- Setting-up Ant contrib tasks --> + <taskdef resource="net/sf/antcontrib/antlib.xml" + classpath="${ant-contrib.jar}"/> ++ <!-- + <fail message="External library ${ant-contrib.jar} requires the optional Ant tasks to be installed"> + <condition><not><and> + <available file="${ant.home}/lib/ant-nodeps.jar"/> + </and></not></condition> + </fail> ++ --> + <!-- Making sure enough memory is available --> + <propertyregex + property="memory.set" input="${env.ANT_OPTS}" select="\1" +@@ -784,7 +786,7 @@ + DOCUMENTATION + ============================================================================ --> + +- <target name="docs" depends="setup.quick" ++ <target name="docs" depends="setup.quick" if="do.docs" + description="Generated the API for library sources"> + <mkdir dir="${api-lib.dir}"/> + <quickdoc +@@ -802,7 +804,7 @@ + </quickdoc> + </target> + +- <target name="docs.compiler" depends="setup.quick" ++ <target name="docs.compiler" depends="setup.quick" if="do.docs" + description="Generated the API for compiler sources"> + <mkdir dir="${api-comp.dir}"/> + <quickdoc +@@ -886,7 +888,7 @@ + + <target name="dist.patch" depends="init"> + <propertyfile file="${number.file}"> +- <entry key="version.patch" type="int" default="0" operation="+"/> ++ <entry key="version.patch" type="int" default="0"/> + </propertyfile> + <property file="${number.file}"/> + <property name="version.number" +@@ -896,7 +898,7 @@ + + <target name="dist.minor" depends="init"> + <propertyfile file="${number.file}"> +- <entry key="version.minor" type="int" default="0" operation="+"/> ++ <entry key="version.minor" type="int" default="0"/> + <entry key="version.patch" type="int" value="0"/> + </propertyfile> + <property file="${number.file}"/> +@@ -1045,7 +1047,7 @@ + <copy todir="${dist.current.dir}/doc/scala"> + <fileset dir="${docs.dir}" includes="README,LICENSE"/> + </copy> +- <copy todir="${dist.current.dir}/doc/scala/api"> ++ <copy todir="${dist.current.dir}/doc/scala/api" failonerror="false"> + <fileset dir="${api-lib.dir}"/> + </copy> + <copy todir="${dist.current.dir}/doc/scala/examples"> +@@ -1066,7 +1068,7 @@ + </target> + + <!-- Create the SBaz packages --> +- <target name="build.sbaz" depends="build.dist"> ++ <target name="build.sbaz" depends="build.dist" if="do.archive"> + <property name="sbaz.universe" value="http://scala.epfl.ch/downloads/packages"/> + <mkdir dir="${dist.dir}"/> + <!-- Create the Scala library package --> +@@ -1120,7 +1122,7 @@ + </quicksbaz> + </target> + +- <target name="build.archive" depends="build.dist"> ++ <target name="build.archive" depends="build.dist" if="do.archive"> + <tar + destfile="${dist.dir}/scala-${version.number}.tgz" + compression="gzip"> |