summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-06-25 01:12:45 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-06-25 01:12:45 +0000
commit835da995b064992dde27289de617963f1060c225 (patch)
tree572e76a3503290d650c06861254800f87a0449da /dev-java/jikes
parentDepend on taglib unconditionally as configure.ac wants us to. Closes bug #134... (diff)
downloadgentoo-2-835da995b064992dde27289de617963f1060c225.tar.gz
gentoo-2-835da995b064992dde27289de617963f1060c225.tar.bz2
gentoo-2-835da995b064992dde27289de617963f1060c225.zip
Revision bump to add support for new Java system.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java/jikes')
-rw-r--r--dev-java/jikes/ChangeLog5
-rw-r--r--dev-java/jikes/files/compiler-settings6
-rw-r--r--dev-java/jikes/files/digest-jikes-1.22-r12
-rw-r--r--dev-java/jikes/files/digest-jikes-1.22-r123
-rw-r--r--dev-java/jikes/files/jikes16
-rw-r--r--dev-java/jikes/jikes-1.22-r12.ebuild38
6 files changed, 69 insertions, 1 deletions
diff --git a/dev-java/jikes/ChangeLog b/dev-java/jikes/ChangeLog
index d28669b86aac..e6c6b58a1e3a 100644
--- a/dev-java/jikes/ChangeLog
+++ b/dev-java/jikes/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/jikes
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jikes/ChangeLog,v 1.40 2006/06/03 18:35:14 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jikes/ChangeLog,v 1.41 2006/06/25 01:12:45 nichoj Exp $
+
+ 25 Jun 2006; <nichoj@gentoo.org> +files/compiler-settings, +files/jikes:
+ Revision bump to add support for new Java system.
03 Jun 2006; Guy Martin <gmsoft@gentoo.org> jikes-1.22-r1.ebuild:
Removing hppa KEYWORDS. HPPA will not support java anymore.
diff --git a/dev-java/jikes/files/compiler-settings b/dev-java/jikes/files/compiler-settings
new file mode 100644
index 000000000000..0e50102cd2ef
--- /dev/null
+++ b/dev-java/jikes/files/compiler-settings
@@ -0,0 +1,6 @@
+JAVAC=/usr/bin/jikes
+PACKAGE=dev-java/jikes
+SUPPORTED_TARGET="1.1 1.2 1.3 1.4"
+SUPPORTED_SOURCE="1.3 1.4"
+ANT_BUILD_COMPILER="jikes"
+GENERATION="2"
diff --git a/dev-java/jikes/files/digest-jikes-1.22-r1 b/dev-java/jikes/files/digest-jikes-1.22-r1
index cee0fd1c2e51..88b0b88ba4f2 100644
--- a/dev-java/jikes/files/digest-jikes-1.22-r1
+++ b/dev-java/jikes/files/digest-jikes-1.22-r1
@@ -1 +1,3 @@
MD5 cda958c7fef6b43b803e1d1ef9afcb85 jikes-1.22.tar.bz2 616655
+RMD160 47f76eb4aa04ad73f8ff5abbf5a399e0b5b6728d jikes-1.22.tar.bz2 616655
+SHA256 0cb02c763bc441349f6d38cacd52adf762302cce3a08e269f1f75f726e6e14e3 jikes-1.22.tar.bz2 616655
diff --git a/dev-java/jikes/files/digest-jikes-1.22-r12 b/dev-java/jikes/files/digest-jikes-1.22-r12
new file mode 100644
index 000000000000..88b0b88ba4f2
--- /dev/null
+++ b/dev-java/jikes/files/digest-jikes-1.22-r12
@@ -0,0 +1,3 @@
+MD5 cda958c7fef6b43b803e1d1ef9afcb85 jikes-1.22.tar.bz2 616655
+RMD160 47f76eb4aa04ad73f8ff5abbf5a399e0b5b6728d jikes-1.22.tar.bz2 616655
+SHA256 0cb02c763bc441349f6d38cacd52adf762302cce3a08e269f1f75f726e6e14e3 jikes-1.22.tar.bz2 616655
diff --git a/dev-java/jikes/files/jikes b/dev-java/jikes/files/jikes
new file mode 100644
index 000000000000..7d7a73de8888
--- /dev/null
+++ b/dev-java/jikes/files/jikes
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Copyright (c) 2005, Thomas Matthijs <axxo@gentoo.org>
+# Copyright (c) 2005, Gentoo Foundation
+#
+# Licensed under the GNU General Public License, v2.
+#
+
+[[ -z ${BOOTCLASSPATH} ]] && export BOOTCLASSPATH=$(java-config --runtime)
+
+if [[ -z "${BOOTCLASSPATH}" ]]; then
+ echo "!!! Could not find runtime classes" > /dev/stderr
+ exit 2
+fi
+
+exec /usr/bin/jikes-bin "$@"
diff --git a/dev-java/jikes/jikes-1.22-r12.ebuild b/dev-java/jikes/jikes-1.22-r12.ebuild
new file mode 100644
index 000000000000..921b43534a74
--- /dev/null
+++ b/dev-java/jikes/jikes-1.22-r12.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jikes/jikes-1.22-r12.ebuild,v 1.1 2006/06/25 01:12:45 nichoj Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="IBM's open source, high performance Java compiler"
+HOMEPAGE="http://jikes.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="IBM"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~ppc64"
+IUSE=""
+DEPEND=""
+RDEPEND=">=dev-java/java-config-2.0.0"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/deprecated.patch
+}
+
+src_compile() {
+ filter-flags "-fno-rtti"
+ econf || die "configure problem"
+ emake || die "compile problem"
+}
+
+src_install () {
+ make DESTDIR=${D} install || die "install problem"
+ dodoc ChangeLog AUTHORS README TODO NEWS
+
+ mv ${D}/usr/bin/jikes{,-bin}
+ dobin ${FILESDIR}/jikes
+
+ insinto /usr/share/java-config-2/compiler
+ newins ${FILESDIR}/compiler-settings jikes
+}