summaryrefslogtreecommitdiff
path: root/packages/jikes/jikes_1.22.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/jikes/jikes_1.22.bb')
-rw-r--r--packages/jikes/jikes_1.22.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/jikes/jikes_1.22.bb b/packages/jikes/jikes_1.22.bb
new file mode 100644
index 0000000000..3ed510a7f1
--- /dev/null
+++ b/packages/jikes/jikes_1.22.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Java compiler adhering to language and VM specifications"
+HOMEPAGE = "http://jikes.sourceforge.net/"
+PRIORITY = "optional"
+SECTION = "devel"
+LICENSE = "IBM"
+PR = "r0"
+
+RDEPENDS = "classpath"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/jikes/jikes-${PV}.tar.bz2"
+
+inherit autotools update-alternatives
+
+EXTRA_OECONF = "--disable-fp-emulation --enable-source15"
+
+# configure script incorrectly defines these when cross compiling for ARM
+CXXFLAGS_append_arm += "-UHAVE_64BIT_TYPES -DWORDS_BIGENDIAN=1"
+
+do_install() {
+ oe_runmake 'DESTDIR=${D}' install
+ install -m 0755 ${WORKDIR}/javac.jikes ${D}${bindir}/
+}
+
+PROVIDES = "virtual/javac"
+ALTERNATIVE_NAME = "javac"
+ALTERNATIVE_LINK = "/usr/bin/javac"
+ALTERNATIVE_PATH = "${bindir}/javac.jikes"