summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2005-07-17 21:58:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-17 21:58:41 +0000
commit9539c315e63a84a7e66695d65140a33748ed3653 (patch)
tree0170c73a5eb64dfe409ba742e355f769ad97adcb
parent56386ea3614a7f14ccfa2052efe6b43048ee39c8 (diff)
jamvm: upgrade to 1.3.1
-rw-r--r--packages/jamvm/jamvm-1.3.1/.mtn2git_empty0
-rw-r--r--packages/jamvm/jamvm-1.3.1/size-defaults.patch12
-rw-r--r--packages/jamvm/jamvm_1.3.1.bb22
3 files changed, 34 insertions, 0 deletions
diff --git a/packages/jamvm/jamvm-1.3.1/.mtn2git_empty b/packages/jamvm/jamvm-1.3.1/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/jamvm/jamvm-1.3.1/.mtn2git_empty
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
index 0000000000..a41beee982
--- /dev/null
+++ b/packages/jamvm/jamvm-1.3.1/size-defaults.patch
@@ -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
index 0000000000..f33745d788
--- /dev/null
+++ b/packages/jamvm/jamvm_1.3.1.bb
@@ -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"