1 DESCRIPTION = "CacaoVM for use as OpenEmbedded's Java VM"
2 HOMEPAGE = "http://www.cacaojvm.org/"
5 SECTION = "interpreters"
7 DEPENDS = "zlib-native libtool-native classpath-native ecj-initial fastjar-native"
9 PROVIDES = "virtual/java-native"
11 S = "${WORKDIR}/cacao-${PV}"
13 inherit native autotools
17 --with-vm-zip=${datadir}/cacao/vm.zip \
19 --with-classpath-libdir=${libdir_jni}:${libdir} \
20 --with-classpath-includedir=${includedir}/classpath \
21 --with-classpath-classes=${datadir}/classpath/glibj.zip \
23 --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \
24 --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \
25 --with-jni_md_h=${includedir}/classpath \
26 --with-jni_h=${includedir}/classpath \
29 # force usage of ecj-initial
30 # Important: Not specifying the bootclasspath argument here is only supported
31 # for Cacao >= 0.99. Earlier Cacao may need the BCP set to a Java5-capable
33 export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
35 # force usage of fastjar