<commit_before>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"
<commit_msg>jikes: link jikes to javac.jikes for update-alternatives - This also fixes a packaging error<commit_after>DESCRIPTION = "Java compiler adhering to language and VM specifications"
HOMEPAGE = "http://jikes.sourceforge.net/"
PRIORITY = "optional"
SECTION = "devel"
LICENSE = "IBM"
PR = "r1"

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

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

{'fraction_non_alphanumeric': 0.1344019728729963, 'fraction_numerical': 0.011097410604192354, 'mean_word_length': 5.518072289156627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6410707', 'n_tokens_mistral': 628, 'n_tokens_neox': 601, 'n_words': 129}