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