jamvm: upgrade to 1.3.1
authorRene Wagner <rw@handhelds.org>
Sun, 17 Jul 2005 21:58:41 +0000 (21:58 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 17 Jul 2005 21:58:41 +0000 (21:58 +0000)
packages/jamvm/jamvm-1.3.1/.mtn2git_empty [new file with mode: 0644]
packages/jamvm/jamvm-1.3.1/size-defaults.patch [new file with mode: 0644]
packages/jamvm/jamvm_1.3.1.bb [new file with mode: 0644]

diff --git a/packages/jamvm/jamvm-1.3.1/.mtn2git_empty b/packages/jamvm/jamvm-1.3.1/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/jamvm/jamvm-1.3.1/size-defaults.patch b/packages/jamvm/jamvm-1.3.1/size-defaults.patch
new file mode 100644 (file)
index 0000000..a41beee
--- /dev/null
@@ -0,0 +1,12 @@
+--- jamvm-1.3.1.orig/src/jam.h 2005-07-17 23:53:34.000000000 +0200
++++ jamvm-1.3.1/src/jam.h      2005-07-17 23:54:17.000000000 +0200
+@@ -548,7 +548,9 @@
+ #endif
+ /* default size of the Java stack */
++#ifndef DEFAULT_STACK
+ #define DEFAULT_STACK 64*KB
++#endif
+ /* size of emergency area - big enough to create
+    a StackOverflow exception */
diff --git a/packages/jamvm/jamvm_1.3.1.bb b/packages/jamvm/jamvm_1.3.1.bb
new file mode 100644 (file)
index 0000000..f33745d
--- /dev/null
@@ -0,0 +1,22 @@
+DESCRIPTION = "A compact Java Virtual Machine which conforms to the JVM specification version 2."
+HOMEPAGE = "http://jamvm.sourceforge.net/"
+LICENSE = "GPL"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "interpreters"
+
+DEPENDS = "zlib classpath"
+RDEPENDS = "classpath (>= 0.14) classpath-common (>= 0.14)"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \
+           file://size-defaults.patch;patch=1"
+
+inherit autotools update-alternatives
+
+EXTRA_OECONF = "--with-classpath-install-dir=${prefix}"
+CFLAGS += "-DDEFAULT_MAX_HEAP=16*MB"
+
+PROVIDES = "virtual/java"
+ALTERNATIVE_NAME = "java"
+ALTERNATIVE_PATH = "${bindir}/jamvm"
+ALTERNATIVE_PRIORITY = "10"