diff options
| author | Henning Heinold <henning@itconsulting-heinold.de> | 2014-01-04 22:11:55 +0100 | 
|---|---|---|
| committer | Henning Heinold <henning@itconsulting-heinold.de> | 2014-01-09 01:25:58 +0100 | 
| commit | ff21c25720a75ac8740ea7a795ebf0c849f42522 (patch) | |
| tree | 1ca5818033410a96dbba8acf14515228cbd39712 | |
| parent | f03bae2219cc56307f76d1a37e242803c8ea1f82 (diff) | |
| download | meta-java-ff21c25720a75ac8740ea7a795ebf0c849f42522.tar.gz | |
cacao: add recipe for additional java vm cacao version 1.6.1
| -rw-r--r-- | recipes-core/cacao/cacao_1.6.1.bb | 52 | 
1 files changed, 52 insertions, 0 deletions
diff --git a/recipes-core/cacao/cacao_1.6.1.bb b/recipes-core/cacao/cacao_1.6.1.bb new file mode 100644 index 0000000..006ee02 --- /dev/null +++ b/recipes-core/cacao/cacao_1.6.1.bb  | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | DESCRIPTION = "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 fastjar-native classpath-native" | ||
| 8 | PROVIDES_class-native = "virtual/java-native" | ||
| 9 | |||
| 10 | DEPENDS = "zlib libtool classpath virtual/javac-native" | ||
| 11 | DEPENDS_${PN} = "classpath" | ||
| 12 | RPROVIDES_${PN} = "java2-runtime" | ||
| 13 | |||
| 14 | SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.xz" | ||
| 15 | SRC_URI[md5sum] = "2c18478404afd1cffdd15ad1e9d85a57" | ||
| 16 | SRC_URI[sha256sum] = "eecc8bd1b528a028f43d9d1d0c06b97855bbf1d40e03826d911ebbc0b6971e12" | ||
| 17 | |||
| 18 | inherit java autotools update-alternatives | ||
| 19 | # --with-vm-zip=${datadir}/cacao/vm.zip | ||
| 20 | EXTRA_OECONF_class-native = "\ | ||
| 21 | --enable-debug \ | ||
| 22 | --with-vm-zip=${datadir}/cacao/vm.zip \ | ||
| 23 | --disable-libjvm \ | ||
| 24 | \ | ||
| 25 | --with-classpath-libdir=${libdir_jni}:${libdir} \ | ||
| 26 | --with-classpath-includedir=${includedir}/classpath \ | ||
| 27 | --with-classpath-classes=${datadir}/classpath/glibj.zip \ | ||
| 28 | \ | ||
| 29 | --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \ | ||
| 30 | --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \ | ||
| 31 | --with-jni_md_h=${includedir}/classpath \ | ||
| 32 | --with-jni_h=${includedir}/classpath \ | ||
| 33 | --disable-test-dependency-checks \ | ||
| 34 | " | ||
| 35 | |||
| 36 | CACHED_CONFIGUREVARS_class-native += "ac_cv_prog_JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial" | ||
| 37 | |||
| 38 | do_configure_prepend () { | ||
| 39 | rm src/mm/boehm-gc/ltmain.sh | ||
| 40 | mkdir -p src/mm/boehm-gc/m4 | ||
| 41 | } | ||
| 42 | |||
| 43 | #FILES_${PN} = "${bindir}/${PN} ${libdir}/cacao/lib*.so ${libdir}/lib*.so* ${datadir}/${PN}" | ||
| 44 | #FILES_${PN}-doc = "${datadir}/man" | ||
| 45 | #FILES_${PN}-dbg += "${bindir}/.debug ${libdir}/.debug/lib*.so*" | ||
| 46 | |||
| 47 | ALTERNATIVE_NAME = "java" | ||
| 48 | ALTERNATIVE_LINK = "${bindir}/${ALTERNATIVE_NAME}" | ||
| 49 | ALTERNATIVE_PATH = "${bindir}/cacao" | ||
| 50 | ALTERNATIVE_PRIORITY = "10" | ||
| 51 | |||
| 52 | BBCLASSEXTEND = "native" | ||
