summaryrefslogtreecommitdiff
path: root/recipes/jikes/jikes_1.22.bb
blob: 8c1a16e6f346f844b435c22de4b5a242e078058a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
DESCRIPTION = "Java compiler adhering to language and VM specifications"
HOMEPAGE = "http://jikes.sourceforge.net/"
PRIORITY = "optional"
SECTION = "devel"
LICENSE = "IBM"
PR = "r1"

RDEPENDS_${PN} = "classpath"
PROVIDES_virtclass-native = ""
RDEPENDS_virtclass-native = ""

BBCLASSEXTEND = "native"

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
    ln -s ${bindir}/jikes ${D}${bindir}/javac.jikes
}

PROVIDES = "virtual/javac"
ALTERNATIVE_NAME = "javac"
ALTERNATIVE_LINK = "/usr/bin/javac"
ALTERNATIVE_PATH = "${bindir}/javac.jikes"

SRC_URI[md5sum] = "cda958c7fef6b43b803e1d1ef9afcb85"
SRC_URI[sha256sum] = "0cb02c763bc441349f6d38cacd52adf762302cce3a08e269f1f75f726e6e14e3"