diff options
author | Richard Leitner <richard.leitner@skidata.com> | 2019-06-18 17:09:04 +0200 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2019-06-25 13:10:34 +0200 |
commit | e3a04fb1ebe7d86cc2714667de587fbe6535ce63 (patch) | |
tree | cdbbd2f3511d249549d32c41e9f75883f6084bb8 /recipes-core/cacao/cacao_2d6f6c14daf9.bb | |
parent | d82f628867f493d9de9172217e26aec5d0ce6c68 (diff) | |
download | meta-java-e3a04fb1ebe7d86cc2714667de587fbe6535ce63.tar.gz |
cacao: update to latest staging tip 2d6f6c14daf9
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Diffstat (limited to 'recipes-core/cacao/cacao_2d6f6c14daf9.bb')
-rw-r--r-- | recipes-core/cacao/cacao_2d6f6c14daf9.bb | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/recipes-core/cacao/cacao_2d6f6c14daf9.bb b/recipes-core/cacao/cacao_2d6f6c14daf9.bb new file mode 100644 index 0000000..91a03fc --- /dev/null +++ b/recipes-core/cacao/cacao_2d6f6c14daf9.bb | |||
@@ -0,0 +1,66 @@ | |||
1 | SUMMARY = "CacaoVM for use as OpenEmbedded's Java VM" | ||
2 | HOMEPAGE = "http://www.cacaojvm.org/" | ||
3 | LICENSE = "GPL-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
5 | SECTION = "interpreters" | ||
6 | |||
7 | DEPENDS_class-native = "zlib-native libtool-native ecj-initial-native fastjar-native classpath-initial-native classpath-native bdwgc-native virtual/java-initial-native" | ||
8 | PROVIDES_class-native = "virtual/java-native" | ||
9 | |||
10 | DEPENDS = "zlib libtool classpath virtual/javac-native bdwgc" | ||
11 | RPROVIDES_${PN} = "java2-runtime" | ||
12 | |||
13 | SRC_URI = "https://bitbucket.org/cacaovm/cacao-staging/get/${PV}.zip \ | ||
14 | file://system-boehm-gc.patch \ | ||
15 | file://cacao-1.6.1-do-not-rely-on-absolute-paths.patch \ | ||
16 | " | ||
17 | S = "${WORKDIR}/cacaovm-cacao-staging-${PV}" | ||
18 | |||
19 | SRC_URI[md5sum] = "5157d0bb9eb1332f7a6b6186eaac01aa" | ||
20 | SRC_URI[sha256sum] = "34b51d660d69c2a83225fd75eab5e1fac002fb5974cb4a74b7478baf923a76cd" | ||
21 | |||
22 | inherit java autotools-brokensep update-alternatives pkgconfig distro_features_check | ||
23 | |||
24 | REQUIRED_DISTRO_FEATURES = "x11" | ||
25 | REQUIRED_DISTRO_FEATURES_class-native := "" | ||
26 | |||
27 | EXTRA_OECONF_class-native = "\ | ||
28 | --enable-debug \ | ||
29 | --with-vm-zip=${datadir}/cacao/vm.zip \ | ||
30 | --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \ | ||
31 | --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \ | ||
32 | --with-jni_md_h=${includedir}/classpath \ | ||
33 | --with-jni_h=${includedir}/classpath \ | ||
34 | --disable-test-dependency-checks \ | ||
35 | --disable-libjvm \ | ||
36 | " | ||
37 | |||
38 | CACHED_CONFIGUREVARS_class-native += "ac_cv_prog_JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial" | ||
39 | |||
40 | EXTRA_OECONF = "\ | ||
41 | --with-vm-zip=${datadir}/cacao/vm.zip \ | ||
42 | --disable-libjvm \ | ||
43 | --with-build-java-runtime-library-classes=${STAGING_DATADIR}/classpath/glibj.zip \ | ||
44 | --with-jni_h=${STAGING_INCDIR}/classpath \ | ||
45 | --with-jni_md_h=${STAGING_INCDIR}/classpath \ | ||
46 | --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \ | ||
47 | --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \ | ||
48 | --disable-test-dependency-checks \ | ||
49 | " | ||
50 | |||
51 | do_configure_prepend () { | ||
52 | # upgrade m4 macros in source tree | ||
53 | libtoolize --force --copy --install | ||
54 | rm -f src/mm/boehm-gc/ltmain.sh | ||
55 | mkdir -p src/mm/boehm-gc/m4 | ||
56 | } | ||
57 | |||
58 | do_install_append_class-target() { | ||
59 | rm ${D}/${bindir}/java | ||
60 | } | ||
61 | |||
62 | FILES_${PN} = "${bindir}/${PN} ${libdir}/cacao/lib*.so ${libdir}/lib*.so* ${datadir}/${PN}" | ||
63 | FILES_${PN}-dbg += "${bindir}/.debug ${libdir}/.debug/lib*.so*" | ||
64 | FILES_${PN}-doc += "${datadir}/gc" | ||
65 | |||
66 | BBCLASSEXTEND = "native" | ||