surpport seeking the recorded video
[vuplus_openembedded] / recipes / cacao / cacao.inc
1 DESCRIPTION = "Cacao is a Java Virtual Machine, which uses GNU Classpath as default Java core library"
2 HOMEPAGE = "http://www.cacaojvm.org/"
3 LICENSE  = "GPL"
4 PRIORITY = "optional"
5 SECTION  = "interpreters"
6
7 DEPENDS = "zlib libtool classpath cacaoh-native virtual/javac-native"
8
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"
12
13 RPROVIDES_cacao = "java2-runtime"
14
15 inherit java autotools update-alternatives
16
17 ARM_INSTRUCTION_SET = "arm"
18
19 # Configure options compatible with Cacao >= 0.99 only!
20 EXTRA_OECONF = "\
21         ${@['','--enable-softfloat'][bb.data.getVar('TARGET_FPU',d,1) == 'soft']} \
22         --enable-debug \
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 \
30   "
31
32 PACKAGES = "${PN} ${PN}-doc ${PN}-dbg"
33
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*"
37
38 ALTERNATIVE_NAME = "java"
39 ALTERNATIVE_LINK = "${bindir}/${ALTERNATIVE_NAME}"
40 ALTERNATIVE_PATH = "${bindir}/cacao"
41 ALTERNATIVE_PRIORITY = "10"