summaryrefslogtreecommitdiff
path: root/packages/jamvm/jamvm.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2008-01-17 15:39:09 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-01-17 15:39:09 +0000
commit9d1b8ff9cc28b6c4e0208b2cd0dc946b59b2b50f (patch)
tree92e90885c812dc5abcd04471f691db851f296047 /packages/jamvm/jamvm.inc
parente07765d6ea242d863c3f4f81bdc6379ae61347c5 (diff)
parentb7031362eafd33ad5c421b07f2bc4f37e4f8a829 (diff)
merge of '964b970138436b573add519a1eae7ca7aec32517'
and 'b8eab3d0461de7af79a745d6b20c8e008acb7af4'
Diffstat (limited to 'packages/jamvm/jamvm.inc')
-rw-r--r--packages/jamvm/jamvm.inc22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/jamvm/jamvm.inc b/packages/jamvm/jamvm.inc
new file mode 100644
index 0000000000..36378370c5
--- /dev/null
+++ b/packages/jamvm/jamvm.inc
@@ -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"
+
+DEPENDS = "zlib classpath virtual/javac-native"
+RDEPENDS = "classpath"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz"
+
+RPROVIDES_jamvm = "java2-runtime"
+
+# This uses 32 bit arm, so force the instruction set to arm, not thumb
+ARM_INSTRUCTION_SET = "arm"
+
+inherit autotools update-alternatives
+
+EXTRA_OECONF = "--with-classpath-install-dir=${prefix}"
+CFLAGS += "-DDEFAULT_MAX_HEAP=16*MB"
+
+ALTERNATIVE_NAME = "java"
+ALTERNATIVE_PATH = "${bindir}/jamvm"
+ALTERNATIVE_PRIORITY = "10"