summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-06-25 01:16:06 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-06-25 01:16:06 +0000
commit78291c36c58b8eab765fd0f95274df19bac10c75 (patch)
treede0747826f9ad9960043d56aaf81b695b6213512 /dev-java/eclipse-ecj
parentRevision bump to add support for new Java system. (diff)
downloadgentoo-2-78291c36c58b8eab765fd0f95274df19bac10c75.tar.gz
gentoo-2-78291c36c58b8eab765fd0f95274df19bac10c75.tar.bz2
gentoo-2-78291c36c58b8eab765fd0f95274df19bac10c75.zip
Revision bump to add support for new Java system.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java/eclipse-ecj')
-rw-r--r--dev-java/eclipse-ecj/ChangeLog5
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-3.1-r13.ebuild41
-rw-r--r--dev-java/eclipse-ecj/files/compiler-settings-3.17
-rw-r--r--dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r133
-rw-r--r--dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r22
5 files changed, 57 insertions, 1 deletions
diff --git a/dev-java/eclipse-ecj/ChangeLog b/dev-java/eclipse-ecj/ChangeLog
index e7734b1252dd..31e703b23ae1 100644
--- a/dev-java/eclipse-ecj/ChangeLog
+++ b/dev-java/eclipse-ecj/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/eclipse-ecj
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.5 2006/03/10 19:48:08 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.6 2006/06/25 01:16:06 nichoj Exp $
+
+ 25 Jun 2006; <nichoj@gentoo.org> +files/compiler-settings-3.1:
+ Revision bump to add support for new Java system.
10 Mar 2006; Markus Rothe <corsair@gentoo.org> eclipse-ecj-3.1-r2.ebuild:
Added ~ppc64; bug #125715
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-3.1-r13.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-3.1-r13.ebuild
new file mode 100644
index 000000000000..02efc1bdd581
--- /dev/null
+++ b/dev-java/eclipse-ecj/eclipse-ecj-3.1-r13.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/eclipse-ecj-3.1-r13.ebuild,v 1.1 2006/06/25 01:16:06 nichoj Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PN=${PN##*-}
+
+DESCRIPTION="Eclipse Compiler for Java"
+HOMEPAGE="http://www.eclipse.org/"
+SRC_URI="http://dev.gentoo.org/~karltk/projects/java/distfiles/${P}-gentoo-r2.tar.bz2"
+LICENSE="EPL-1.0"
+KEYWORDS="~amd64 ~x86"
+SLOT="3.1"
+
+IUSE="doc"
+
+RDEPEND=">=virtual/jre-1.4"
+
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.4
+ dev-java/ant-core"
+
+src_compile() {
+ eant jar $(use_doc)
+}
+
+src_install() {
+ java-pkg_dojar build/${MY_PN}.jar || die "ecj.jar not installable"
+
+ dodoc README
+ use doc && java-pkg_dohtml -r build/doc/api
+
+ exeinto /usr/bin
+ doexe ${MY_PN}-${SLOT}
+
+ insinto /usr/share/java-config-2/compiler
+ newins ${FILESDIR}/compiler-settings-${SLOT} ecj-${SLOT}
+
+}
+
diff --git a/dev-java/eclipse-ecj/files/compiler-settings-3.1 b/dev-java/eclipse-ecj/files/compiler-settings-3.1
new file mode 100644
index 000000000000..af59058d869c
--- /dev/null
+++ b/dev-java/eclipse-ecj/files/compiler-settings-3.1
@@ -0,0 +1,7 @@
+JAVAC="/usr/bin/ecj-3.1"
+PACKAGE="=dev-java/eclipse-ecj-3.1*"
+SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5"
+SUPPORTED_SOURCE="1.3 1.4 1.5"
+ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
+ANT_BUILD_COMPILER_DEPS="eclipse-ecj-3.1"
+GENERATION="2"
diff --git a/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r13 b/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r13
new file mode 100644
index 000000000000..e7e4bcb69589
--- /dev/null
+++ b/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r13
@@ -0,0 +1,3 @@
+MD5 6d79a571b2e43caef2f963ae3798f3da eclipse-ecj-3.1-gentoo-r2.tar.bz2 543266
+RMD160 a839e8bddae9e5dfe12c33d98557d5d4a1cd1494 eclipse-ecj-3.1-gentoo-r2.tar.bz2 543266
+SHA256 8367945471b97199962148ddaa917d7cc9fb59df094465622d0b0f2ff723a129 eclipse-ecj-3.1-gentoo-r2.tar.bz2 543266
diff --git a/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r2 b/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r2
index b9dfbcd8e4e4..e7e4bcb69589 100644
--- a/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r2
+++ b/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1-r2
@@ -1 +1,3 @@
MD5 6d79a571b2e43caef2f963ae3798f3da eclipse-ecj-3.1-gentoo-r2.tar.bz2 543266
+RMD160 a839e8bddae9e5dfe12c33d98557d5d4a1cd1494 eclipse-ecj-3.1-gentoo-r2.tar.bz2 543266
+SHA256 8367945471b97199962148ddaa917d7cc9fb59df094465622d0b0f2ff723a129 eclipse-ecj-3.1-gentoo-r2.tar.bz2 543266