surpport seeking the recorded video
[vuplus_openembedded] / recipes / cacao / cacaoh-native.inc
1 DESCRIPTION = "Header generator for Cacao JVM - Needed for cross-compilation builds"
2 HOMEPAGE = "http://www.cacaojvm.org/"
3 LICENSE  = "GPL"
4
5 DEPENDS = "libtool-native zlib-native virtual/javac-native classpath-native"
6
7 S = "${WORKDIR}/cacao-${PV}"
8
9 inherit autotools native
10
11 EXTRA_OECONF = " \
12   --with-java-runtime-library-classes=${STAGING_DATADIR}/classpath/glibj.zip \
13   --with-jni_md_h=${STAGING_INCDIR}/classpath \
14   --with-jni_h=${STAGING_INCDIR}/classpath \
15   "
16
17 do_compile() {
18   # Compile the header generator only (and what is needed for it).
19   oe_runmake -C src/toolbox libtoolbox.la
20   oe_runmake -C src/vmcore libvmcore.la
21   oe_runmake -C src/cacaoh cacaoh
22 }
23
24 do_stage() {
25         install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-${PV}
26 }