merge of '8c185e14edc5b4a26b15fd54f158e22f3f659282'
[vuplus_openembedded] / packages / 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 S = "${WORKDIR}/classpath-${PV}"
6
7 SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
8           
9
10 DEPENDS = "ecj-initial fastjar-native zip-native gettext-native"
11
12 inherit autotools native
13
14
15 do_configure_prepend () {
16
17         cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}
18 }
19
20 export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
21 export JAVACFLAGS="-nowarn"
22
23 # Note: the --with-ecj options seems redundant but is
24 # for compatibility with older classpath versions.
25 EXTRA_OECONF = "\
26   --with-ecj=${STAGING_BINDIR_NATIVE}/ecj-initial \
27   --with-glibj \
28   --with-fastjar=fastjar \
29   --enable-local-sockets \
30   --disable-alsa \
31   --disable-gconf-peer \
32   --disable-gtk-peer \
33   --disable-plugin \
34   --disable-dssi \
35   --enable-examples \
36   --enable-tools \
37   --includedir=${STAGING_INCDIR}/classpath \
38   --with-vm=java \
39   "
40
41 do_stage() {
42         oe_runmake install
43 }