summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-04-28 13:06:41 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-28 13:06:41 +0000
commit4e6272da1a022f019c11442f29a989f56a4ad392 (patch)
treee06609ebcecf37dc9568cd4ca9fa00e088f287b9
parent035fad89cb3ce035197191bdaaf9265b99f98a0b (diff)
jikes: add 1.22, closes #860
-rw-r--r--packages/jikes/files/.mtn2git_empty0
-rw-r--r--packages/jikes/files/javac.jikes2
-rw-r--r--packages/jikes/jikes_1.21.bb8
-rw-r--r--packages/jikes/jikes_1.22.bb27
4 files changed, 36 insertions, 1 deletions
diff --git a/packages/jikes/files/.mtn2git_empty b/packages/jikes/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/jikes/files/.mtn2git_empty
diff --git a/packages/jikes/files/javac.jikes b/packages/jikes/files/javac.jikes
new file mode 100644
index 0000000000..8650d177a9
--- /dev/null
+++ b/packages/jikes/files/javac.jikes
@@ -0,0 +1,2 @@
+#!/bin/sh
+jikes -bootclasspath /usr/share/classpath/glibj.zip $@
diff --git a/packages/jikes/jikes_1.21.bb b/packages/jikes/jikes_1.21.bb
index 050152a3ef..aeeadc45a6 100644
--- a/packages/jikes/jikes_1.21.bb
+++ b/packages/jikes/jikes_1.21.bb
@@ -4,8 +4,14 @@ PRIORITY = "optional"
MAINTAINER = "Rene Wagner <rw@handhelds.org>"
SECTION = "devel"
LICENSE = "IBM"
-PR = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/jikes/jikes-${PV}.tar.bz2"
inherit autotools
+
+EXTRA_OECONF = "--disable-fp-emulation"
+
+# configure script incorrectly defines these when cross compiling for ARM
+CXXFLAGS_append_arm += "-UHAVE_64BIT_TYPES -DWORDS_BIGENDIAN=1"
+
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"