summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-08-02 13:12:26 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-08-02 13:12:26 +0000
commitfc7a58addb0487907a7f017517eaab9172dd7e90 (patch)
tree426e092622d2bcb368c101f284319418e1658051 /dev-java/scala-bin
parentTypo (Manifest recommit) (diff)
downloadgentoo-2-fc7a58addb0487907a7f017517eaab9172dd7e90.tar.gz
gentoo-2-fc7a58addb0487907a7f017517eaab9172dd7e90.tar.bz2
gentoo-2-fc7a58addb0487907a7f017517eaab9172dd7e90.zip
Initial import.
Diffstat (limited to 'dev-java/scala-bin')
-rw-r--r--dev-java/scala-bin/ChangeLog8
-rw-r--r--dev-java/scala-bin/Manifest5
-rw-r--r--dev-java/scala-bin/files/digest-scala-bin-1.2.0.11
-rw-r--r--dev-java/scala-bin/metadata.xml14
-rw-r--r--dev-java/scala-bin/scala-bin-1.2.0.1.ebuild54
5 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/scala-bin/ChangeLog b/dev-java/scala-bin/ChangeLog
new file mode 100644
index 000000000000..353322c1a160
--- /dev/null
+++ b/dev-java/scala-bin/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-java/scala
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed unde the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/scala-bin/ChangeLog,v 1.1 2004/08/02 13:12:26 karltk Exp $
+
+*scala-bin-1.2.0.1 (02 Aug 2004)
+
+ 02 Aug 2004; Karl Trygve Kalleberg <karltk@gentoo.org>
+ scala-bin-1.2.0.1.ebuild: Initial import. Ebuild submitted by myself.
diff --git a/dev-java/scala-bin/Manifest b/dev-java/scala-bin/Manifest
new file mode 100644
index 000000000000..d076bf7ce6d6
--- /dev/null
+++ b/dev-java/scala-bin/Manifest
@@ -0,0 +1,5 @@
+MD5 64a71472dd244bf0ce9d91f19197d38e scala-1.2.0.1.ebuild~ 325
+MD5 c70493b72cfcf900d63a9a5098e353fe scala-1.2.0.1.ebuild 506
+MD5 aff0345dc43ec3d98b74df86365a39ec ChangeLog 277
+MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310
+MD5 13da2e88bbcea80d1bb558ce534f6845 files/digest-scala-1.2.0.1 67
diff --git a/dev-java/scala-bin/files/digest-scala-bin-1.2.0.1 b/dev-java/scala-bin/files/digest-scala-bin-1.2.0.1
new file mode 100644
index 000000000000..e9dab30d0f83
--- /dev/null
+++ b/dev-java/scala-bin/files/digest-scala-bin-1.2.0.1
@@ -0,0 +1 @@
+MD5 e3f1ceb318a7545c916af9781c6fc1b5 scala-1.2.0.1.tar.bz2 4548508
diff --git a/dev-java/scala-bin/metadata.xml b/dev-java/scala-bin/metadata.xml
new file mode 100644
index 000000000000..f5e039ea7f4b
--- /dev/null
+++ b/dev-java/scala-bin/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>karltk@gentoo.org</email>
+ <description>Primary maintainer</description>
+</maintainer>
+
+<longdescription>
+
+</longdescription>
+</pkgmetadata>
diff --git a/dev-java/scala-bin/scala-bin-1.2.0.1.ebuild b/dev-java/scala-bin/scala-bin-1.2.0.1.ebuild
new file mode 100644
index 000000000000..d3ae64350674
--- /dev/null
+++ b/dev-java/scala-bin/scala-bin-1.2.0.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/scala-bin/scala-bin-1.2.0.1.ebuild,v 1.1 2004/08/02 13:12:26 karltk Exp $
+
+inherit java-pkg
+
+DESCRIPTION="The Scala Programming Language"
+HOMEPAGE="http://scala.epfl.ch/"
+SRC_URI="http://scala.epfl.ch/downloads/distrib/files/scala-1.2.0.1.tar.bz2"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+S=${WORKDIR}/scala-${PV}
+
+src_compile() {
+
+ jars=/usr/share/${PN}/lib
+
+ sed -e "s§RUNTIME_SOURCES=.*§RUNTIME_SOURCES=\"/usr/share/${PF}/src\";§" \
+ -e "s§RUNTIME_CLASSES=.*§RUNTIME_CLASSES=\"${jars}/scala.jar\";§" \
+ -e "s§TOOLS_CLASSES=.*§TOOLS_CLASSES=\"${jars}/tools.jar\";§" \
+ -e "s§FJBG_CLASSES=.*§FJBG_CLASSES=\"${jars}/fjbg.jar\";§" \
+ -e "s§MSIL_CLASSES=.*§MSIL_CLASSES=\"${jars}/msil.jar\";§" \
+ < bin/.scala_wrapper \
+ > scala_wrapper
+
+:; }
+
+src_install() {
+
+ exeinto /usr/lib/${PN}
+ doexe scala_wrapper
+
+ dodir /usr/bin
+
+ for x in dtd2scala scalac scala-debug scaladoc-debug scalaint scalap scalarun-debug \
+ scala scalac-debug scaladoc scala-info scalaint-debug scalarun scalatest ; do
+ dosym /usr/lib/${PN}/scala_wrapper /usr/bin/$x
+ done
+
+ java-pkg_dojar lib/*.jar
+
+ dohtml -r doc/api
+ cp -r examples ${D}/usr/share/doc/${PF}
+ dodoc doc/*.pdf
+ dodoc LICENSE README VERSION
+
+ dodir /usr/share/${PF}
+ cp -r src support ${D}/usr/share/${PF}
+
+}