diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-12 20:58:34 +0100 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2011-11-26 23:41:44 +0100 |
commit | 57e069cde6617f00ca8834a82c6f360af43d5067 (patch) | |
tree | 48cbe15e96d217c45acfa64b0c13aad8c6424980 /recipes-core/classpath/classpath-native.inc | |
download | meta-java-57e069cde6617f00ca8834a82c6f360af43d5067.tar.gz |
meta-java: initial commit
* taken over mostly stuff from oe classic
* cleaned up recipes
* added license checksums
* bump icedtea6-native to 1.8.11
* use jamvm from git as native
Diffstat (limited to 'recipes-core/classpath/classpath-native.inc')
-rw-r--r-- | recipes-core/classpath/classpath-native.inc | 34 |
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 @@ | |||
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 | DEPENDS = "ecj-initial fastjar-native zip-native gettext-native" | ||
6 | |||
7 | inherit autotools 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 | EXTRA_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 | |||