summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-23 00:34:32 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-23 00:34:32 +0000
commit02f81fbdb7c1d2a67bbe045cae32f4c04ddfe463 (patch)
tree6365ea0f66687d3be081ee72be01be5f9f22cb1b /dev-java/jamvm
parentInitial import. Fixes #75003. (diff)
downloadhistorical-02f81fbdb7c1d2a67bbe045cae32f4c04ddfe463.tar.gz
historical-02f81fbdb7c1d2a67bbe045cae32f4c04ddfe463.tar.bz2
historical-02f81fbdb7c1d2a67bbe045cae32f4c04ddfe463.zip
Initial import. Fixes #56571.
Diffstat (limited to 'dev-java/jamvm')
-rw-r--r--dev-java/jamvm/ChangeLog9
-rw-r--r--dev-java/jamvm/Manifest5
-rw-r--r--dev-java/jamvm/files/1.2.2-classpath-fix.diff12
-rw-r--r--dev-java/jamvm/files/digest-jamvm-1.2.21
-rw-r--r--dev-java/jamvm/jamvm-1.2.2.ebuild43
-rw-r--r--dev-java/jamvm/metadata.xml14
6 files changed, 84 insertions, 0 deletions
diff --git a/dev-java/jamvm/ChangeLog b/dev-java/jamvm/ChangeLog
new file mode 100644
index 000000000000..6cb9ffdba657
--- /dev/null
+++ b/dev-java/jamvm/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/jamvm
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/ChangeLog,v 1.1 2004/12/23 00:34:32 karltk Exp $
+
+*jamvm-1.2.2 (23 Dec 2004)
+
+ 23 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> jamvm-1.2.2.ebuild:
+ Initial import. Ebuild submitted by Robert Schuster <theBohemian@gmx.net>.
+ Fixes #56571.
diff --git a/dev-java/jamvm/Manifest b/dev-java/jamvm/Manifest
new file mode 100644
index 000000000000..92d2dede6411
--- /dev/null
+++ b/dev-java/jamvm/Manifest
@@ -0,0 +1,5 @@
+MD5 9a3ef009bca4b93baccda46b510bc152 jamvm-1.2.2.ebuild 1089
+MD5 b8504e5a3ea0a8d14393caaad82f0ba6 ChangeLog 400
+MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310
+MD5 993705327b355e08b0839151f016a3d6 files/1.2.2-classpath-fix.diff 521
+MD5 fdfdeff695c4418f2f3787e41bcb88e1 files/digest-jamvm-1.2.2 63
diff --git a/dev-java/jamvm/files/1.2.2-classpath-fix.diff b/dev-java/jamvm/files/1.2.2-classpath-fix.diff
new file mode 100644
index 000000000000..b6dd50962179
--- /dev/null
+++ b/dev-java/jamvm/files/1.2.2-classpath-fix.diff
@@ -0,0 +1,12 @@
+diff -urN jamvm-1.2.2-orig/src/dll.c jamvm-1.2.2/src/dll.c
+--- jamvm-1.2.2-orig/src/dll.c 2004-12-14 06:10:53.000000000 +0100
++++ jamvm-1.2.2/src/dll.c 2004-12-16 00:14:59.935865384 +0100
+@@ -149,7 +149,7 @@
+ int i;
+
+ if(strncmp(CLASS_CB(mb->class)->name, "java/lang/", 10) != 0 &&
+- strncmp(CLASS_CB(mb->class)->name, "gnu/", 4) != 0 &&
++ strncmp(CLASS_CB(mb->class)->name, "gnu/classpath/", 14) != 0 &&
+ strncmp(CLASS_CB(mb->class)->name, "java/security/", 14) != 0)
+ return NULL;
+
diff --git a/dev-java/jamvm/files/digest-jamvm-1.2.2 b/dev-java/jamvm/files/digest-jamvm-1.2.2
new file mode 100644
index 000000000000..ad70337619be
--- /dev/null
+++ b/dev-java/jamvm/files/digest-jamvm-1.2.2
@@ -0,0 +1 @@
+MD5 a9aac6adac4ce48f31cedde5d7d45667 jamvm-1.2.2.tar.gz 225929
diff --git a/dev-java/jamvm/jamvm-1.2.2.ebuild b/dev-java/jamvm/jamvm-1.2.2.ebuild
new file mode 100644
index 000000000000..9f3c24672da1
--- /dev/null
+++ b/dev-java/jamvm/jamvm-1.2.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamvm/jamvm-1.2.2.ebuild,v 1.1 2004/12/23 00:34:32 karltk Exp $
+
+inherit eutils
+
+DESCRIPTION="An extremely small and specification-compliant Java virtual machine."
+HOMEPAGE="http://jamvm.sourceforge.net/"
+
+SRC_URI="mirror://sourceforge/jamvm/jamvm-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="debug"
+DEPEND=">=dev-java/gnu-classpath-0.12"
+RDEPEND=">=dev-java/gnu-classpath-0.12"
+
+src_unpack() {
+ unpack ${A}
+
+ # fixes a threading problem with AWT<->Gtk
+ epatch ${FILESDIR}/${PV}-classpath-fix.diff
+}
+
+src_compile() {
+ # compiles JamVM
+ cd ${S}
+
+ # configure adds "/share/classpath" itself
+ myc="--with-classpath-install-dir=/usr"
+ use debug && myc="${myc} --enable-tracelock"
+ econf ${myc} || die "configure failed."
+ emake || die "make failed."
+}
+
+src_install() {
+ make install-strip DESTDIR=${D} || die "installation failed."
+
+ # puts jni.h in a package dependent folder
+ cd ${D}usr/include
+ mkdir ${P}
+ mv jni.h ${P}
+}
diff --git a/dev-java/jamvm/metadata.xml b/dev-java/jamvm/metadata.xml
new file mode 100644
index 000000000000..f5e039ea7f4b
--- /dev/null
+++ b/dev-java/jamvm/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>