summaryrefslogtreecommitdiffstats
path: root/recipes-core/classpath/classpath-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/classpath/classpath-native.inc')
-rw-r--r--recipes-core/classpath/classpath-native.inc34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-core/classpath/classpath-native.inc b/recipes-core/classpath/classpath-native.inc
new file mode 100644
index 0000000..aefbf6d
--- /dev/null
+++ b/recipes-core/classpath/classpath-native.inc
@@ -0,0 +1,34 @@
1DESCRIPTION = "GNU Classpath standard Java libraries - For native Java-dependent programs"
2HOMEPAGE = "http://www.gnu.org/software/classpath/"
3LICENSE = "Classpath"
4
5DEPENDS = "ecj-initial fastjar-native zip-native gettext-native"
6
7inherit autotools native
8
9SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
10
11do_configure_prepend () {
12
13 cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}
14}
15
16export JAVA="${STAGING_BINDIR_NATIVE}/java-initial"
17export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
18export JAVACFLAGS="-nowarn"
19
20EXTRA_OECONF = " \
21 --with-glibj \
22 --enable-local-sockets \
23 --disable-Werror \
24 --disable-alsa \
25 --disable-gconf-peer \
26 --disable-gtk-peer \
27 --disable-plugin \
28 --disable-dssi \
29 --disable-gjdoc \
30 --disable-examples \
31 --enable-tools \
32 --includedir=${STAGING_INCDIR}/classpath \
33 "
34