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
commit7f93953cbfbdec60d67401552c1cea24f20c199c (patch)
tree0a71c26bd5bc7d7fc499a742d61e5256dab207d7 /dev-java/scala-bin
parentTypo (diff)
downloadhistorical-7f93953cbfbdec60d67401552c1cea24f20c199c.tar.gz
historical-7f93953cbfbdec60d67401552c1cea24f20c199c.tar.bz2
historical-7f93953cbfbdec60d67401552c1cea24f20c199c.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/Manifest4
-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, 81 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..44bd4625db52
--- /dev/null
+++ b/dev-java/scala-bin/Manifest
@@ -0,0 +1,4 @@
+MD5 ce2f7d505dbe0dff6a126319b6072dfc scala-bin-1.2.0.1.ebuild 1469
+MD5 471b12eda769a3674c7e642dcb6a1801 ChangeLog 375
+MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310
+MD5 13da2e88bbcea80d1bb558ce534f6845 files/digest-scala-bin-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}
+
+}