summaryrefslogtreecommitdiff
path: root/packages/obsolete/jamvm/jamvm_1.3.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/obsolete/jamvm/jamvm_1.3.0.bb')
-rw-r--r--packages/obsolete/jamvm/jamvm_1.3.0.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/obsolete/jamvm/jamvm_1.3.0.bb b/packages/obsolete/jamvm/jamvm_1.3.0.bb
new file mode 100644
index 0000000000..ffdf74938f
--- /dev/null
+++ b/packages/obsolete/jamvm/jamvm_1.3.0.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "A compact Java Virtual Machine which conforms to the JVM specification version 2."
+HOMEPAGE = "http://jamvm.sourceforge.net/"
+LICENSE = "GPL"
+PRIORITY = "optional"
+SECTION = "interpreters"
+
+DEPENDS = "zlib classpath"
+RDEPENDS = "classpath (>= 0.14) classpath-common (>= 0.14)"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \
+ file://heap-size.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"