1 DESCRIPTION = "Cacao is a Java Virtual Machine, which uses GNU Classpath as default Java core library"
2 HOMEPAGE = "http://www.cacaojvm.org/"
5 SECTION = "interpreters"
7 DEPENDS = "zlib libtool classpath cacaoh-native virtual/javac-native"
9 # Avoid version number here, otherwise dpkg will expect a package name
10 # and cannot be satisfied with a package that provides classpath.
11 RDEPENDS = "classpath"
13 RPROVIDES_cacao = "java2-runtime"
15 inherit java autotools update-alternatives
17 ARM_INSTRUCTION_SET = "arm"
19 # Configure options compatible with Cacao >= 0.99 only!
21 ${@['','--enable-softfloat'][bb.data.getVar('TARGET_FPU',d,1) == 'soft']} \
23 --with-vm-zip=${datadir}/cacao/vm.zip \
24 --with-cacaoh=${STAGING_BINDIR_NATIVE}/cacaoh-${PV} \
25 --with-build-java-runtime-library-classes=${STAGING_DATADIR}/classpath/glibj.zip \
26 --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \
27 --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \
28 --with-jni_md_h=${STAGING_INCDIR}/classpath \
29 --with-jni_h=${STAGING_INCDIR}/classpath \
32 PACKAGES = "${PN} ${PN}-doc ${PN}-dbg"
34 FILES_${PN} = "${bindir}/${PN} ${libdir}/lib*.so* ${datadir}/${PN}"
35 FILES_${PN}-doc = "${datadir}/man"
36 FILES_${PN}-dbg += "${bindir}/.debug ${libdir}/.debug/lib*.so*"
38 ALTERNATIVE_NAME = "java"
39 ALTERNATIVE_LINK = "${bindir}/${ALTERNATIVE_NAME}"
40 ALTERNATIVE_PATH = "${bindir}/cacao"
41 ALTERNATIVE_PRIORITY = "10"