summaryrefslogtreecommitdiff
path: root/packages/cacao/cacao-native.inc
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-10 23:11:30 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-01-10 23:11:30 +0000
commitf4f969a659645ac0ad184f1959f9213e0ae8be53 (patch)
tree2c870292829a5c1f3e77e9bb0f256b74295456db /packages/cacao/cacao-native.inc
parente83cd15cbbe73ab0dd97f3e07056d6e0fc03be59 (diff)
parent7e8411a730dbfa42b70ac583e14f64bd0465f2a3 (diff)
merge of '503b3ade200ad628a4b30fab228c365b8c0cf2ea'
and '9910934c4f018cde20787ccaa558640752542098'
Diffstat (limited to 'packages/cacao/cacao-native.inc')
-rw-r--r--packages/cacao/cacao-native.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/cacao/cacao-native.inc b/packages/cacao/cacao-native.inc
new file mode 100644
index 0000000000..26d3d37f58
--- /dev/null
+++ b/packages/cacao/cacao-native.inc
@@ -0,0 +1,27 @@
+DESCRIPTION = "CacaoVM for use as OpenEmbedded's Java VM"
+HOMEPAGE = "http://www.cacaojvm.org/"
+LICENSE = "GPL"
+PRIORITY = "optional"
+SECTION = "interpreters"
+
+DEPENDS = "zlib-native libtool-native classpath-native ecj-initial fastjar-native"
+
+PROVIDES = "virtual/java-native"
+
+S = "${WORKDIR}/cacao-${PV}"
+
+inherit native autotools
+
+EXTRA_OECONF = "\
+ --enable-debug \
+ --with-classpath-libdir=${libdir} \
+ --with-classpath-includedir=${includedir}/classpath \
+ --with-classpath-classes=${datadir}/classpath/glibj.zip \
+ --with-vm-zip=${datadir}/cacao/vm.zip \
+ "
+
+# force usage of ecj-initial (but Java5-compatible class library)
+export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial -bootclasspath ${STAGING_DATADIR_NATIVE}/classpath/glibj.zip"
+
+# force usage of fastjar
+export JAR=fastjar