summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-06-03 00:55:46 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-06-03 00:55:46 +0000
commitd340e9688a576b4fc567590fcc344e0048125fe0 (patch)
treef76ab47d36b92c2c6789379fc46b8c400094f0d4 /dev-java
parentAdding metadata.xml file with myself as maintainer. (Manifest recommit) (diff)
downloadgentoo-2-d340e9688a576b4fc567590fcc344e0048125fe0.tar.gz
gentoo-2-d340e9688a576b4fc567590fcc344e0048125fe0.tar.bz2
gentoo-2-d340e9688a576b4fc567590fcc344e0048125fe0.zip
Initial import. Ebuild submitted by myself.
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sablevm/ChangeLog8
-rw-r--r--dev-java/sablevm/Manifest2
-rw-r--r--dev-java/sablevm/files/digest-sablevm-1.1.52
-rw-r--r--dev-java/sablevm/metadata.xml15
-rw-r--r--dev-java/sablevm/sablevm-1.1.5.ebuild65
5 files changed, 92 insertions, 0 deletions
diff --git a/dev-java/sablevm/ChangeLog b/dev-java/sablevm/ChangeLog
new file mode 100644
index 000000000000..bdf9d95e268a
--- /dev/null
+++ b/dev-java/sablevm/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for <CATEGORY>/<PACKAGE_NAME>
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sablevm/ChangeLog,v 1.1 2004/06/03 00:55:46 karltk Exp $
+
+*sablevm-1.1.5 (03 Jun 2004)
+
+ 03 Jun 2004; Karl Trygve Kalleberg <karltk@gentoo.org> sablevm-1.1.5.ebuild:
+ Initial import. Ebuild submitted by myself.
diff --git a/dev-java/sablevm/Manifest b/dev-java/sablevm/Manifest
new file mode 100644
index 000000000000..f8cba9c3ab68
--- /dev/null
+++ b/dev-java/sablevm/Manifest
@@ -0,0 +1,2 @@
+MD5 c522275761e1ac861159442da30b2fc0 sablevm-1.1.5.ebuild 545
+MD5 6a356e1d97c8065248a14ab8d6b72c11 files/digest-sablevm-1.1.5 141
diff --git a/dev-java/sablevm/files/digest-sablevm-1.1.5 b/dev-java/sablevm/files/digest-sablevm-1.1.5
new file mode 100644
index 000000000000..71f41deab1ed
--- /dev/null
+++ b/dev-java/sablevm/files/digest-sablevm-1.1.5
@@ -0,0 +1,2 @@
+MD5 bd622682679dbb6ad7fb8e9fc339abf8 sablevm-1.1.5.tar.gz 663191
+MD5 6bab25aa50da3c2b4bea4179d48cd1c5 sablevm-classpath-1.1.5.tar.gz 3514687
diff --git a/dev-java/sablevm/metadata.xml b/dev-java/sablevm/metadata.xml
new file mode 100644
index 000000000000..7a62946d9b52
--- /dev/null
+++ b/dev-java/sablevm/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<longdescription>
+SableVM is a highly-portable Java virtual machine written in C, and implementing
+the Java virtual machine specification, second edition.
+
+Its goals are to be complete, reasonably small, fast, and efficient, as well as
+to provide a well-designed and robust platform for further development and
+research.
+
+SableVM is a clean-room implementation of the publicly available specifications.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-java/sablevm/sablevm-1.1.5.ebuild b/dev-java/sablevm/sablevm-1.1.5.ebuild
new file mode 100644
index 000000000000..4202191723d0
--- /dev/null
+++ b/dev-java/sablevm/sablevm-1.1.5.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sablevm/sablevm-1.1.5.ebuild,v 1.1 2004/06/03 00:55:46 karltk Exp $
+
+DESCRIPTION="A robust, clean, extremely portable, efficient, and specification-compliant Java virtual machine."
+HOMEPAGE="http://sablevm.org/"
+
+# karltk: According to Grzegorz Prokopski (gadek), the two tarfiles will merge
+# into one in the future. For now, they consistently make concurrent releases,
+# so I merged them into one ebuild.
+
+SRC_URI="http://devel.sablevm.org/download/${PV}/sablevm-${PV}.tar.gz
+ http://devel.sablevm.org/download/${PV}/sablevm-classpath-${PV}.tar.gz"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="gtk"
+DEPEND=">=dev-libs/libffi-1.20
+ >=dev-java/jikes-1.19
+ gtk? (
+ >=x11-libs/gtk+-2.2
+ >=media-libs/libart_lgpl-2.1
+ >=media-libs/gdk-pixbuf-0.22
+ )"
+#RDEPEND=""
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+}
+
+src_compile() {
+
+ # Compile the Classpath
+
+ cd ${S}/sablevm-classpath-${PV}
+ local myc="--with-jikes"
+ use gtk && myc="${myc} --enable-gtk-peer" || myc="${myc} --disable-gtk-peer"
+ econf ${myc} || die
+ emake || die "emake failed"
+
+ # Compile the VM
+
+ cd ${S}/sablevm-${PV}
+ econf || die
+ emake || die "emake failed"
+}
+
+src_install() {
+
+ # Install the Classpath
+
+ cd ${S}/sablevm-classpath-${PV}
+ einstall || die
+
+ # Install the VM
+
+ cd ${S}/sablevm-${PV}
+ einstall || die
+
+ mv ${D}/usr/share/sablevm-classpath ${D}/usr/share/sablevm/ || \
+ die "Path fixup failed!"
+}