summaryrefslogtreecommitdiff
path: root/packages/jamvm/jamvm_1.3.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/jamvm/jamvm_1.3.2.bb')
-rw-r--r--packages/jamvm/jamvm_1.3.2.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/jamvm/jamvm_1.3.2.bb b/packages/jamvm/jamvm_1.3.2.bb
new file mode 100644
index 0000000000..7d674dc720
--- /dev/null
+++ b/packages/jamvm/jamvm_1.3.2.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://jamvm-1.3.1-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"