surpport seeking the recorded video
[vuplus_openembedded] / recipes / classpath / classpath-native.inc
1 DESCRIPTION = "GNU Classpath standard Java libraries - For native Java-dependent programs"
2 HOMEPAGE = "http://www.gnu.org/software/classpath/"
3 LICENSE = "Classpath"
4
5 inherit autotools native
6
7 DEPENDS = "ecj-initial fastjar-native zip-native gettext-native"
8
9 SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
10
11 do_configure_prepend () {
12
13         cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}
14 }
15
16 export JAVA="${STAGING_BINDIR_NATIVE}/java-initial"
17 export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
18 export JAVACFLAGS="-nowarn"
19
20 # Note: the --with-ecj options seems redundant but is
21 # for compatibility with older classpath versions.
22 EXTRA_OECONF = "\
23   --with-ecj=${STAGING_BINDIR_NATIVE}/ecj-initial \
24   --with-glibj \
25   --with-fastjar=fastjar \
26   --enable-local-sockets \
27   --disable-Werror \
28   --disable-alsa \
29   --disable-gconf-peer \
30   --disable-gtk-peer \
31   --disable-plugin \
32   --disable-dssi \
33   --disable-gjdoc \
34   --enable-examples \
35   --enable-tools \
36   --includedir=${STAGING_INCDIR}/classpath \
37   --with-vm=java \
38   "
39
40 do_stage() {
41         oe_runmake install
42 }