summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/eclipse-ecj/ChangeLog16
-rw-r--r--dev-java/eclipse-ecj/Manifest2
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-3.1.ebuild32
-rw-r--r--dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.11
-rw-r--r--dev-java/eclipse-ecj/metadata.xml14
5 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/eclipse-ecj/ChangeLog b/dev-java/eclipse-ecj/ChangeLog
new file mode 100644
index 000000000000..b25cd6838f9e
--- /dev/null
+++ b/dev-java/eclipse-ecj/ChangeLog
@@ -0,0 +1,16 @@
+# ChangeLog for dev-java/eclipse-ecj
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.1 2005/08/24 21:39:35 karltk Exp $
+
+*eclipse-ecj-3.1 (24 Aug 2005)
+
+ 24 Aug 2005; Karl Trygve Kalleberg <karltk@gentoo.org>
+ +eclipse-ecj-3.1.ebuild:
+ Initial import. The source snapshot was ripped straight out of
+ plugins/org.eclipse.jdt.core from the 3.1 zipfile. Note that the
+ directory layout has changed a bit; I don't maintain separate
+ batch and compiler directories. Our layout looks exactly like the
+ one used for the bootstrap compiler in jdtcoresrc/.
+
+
+
diff --git a/dev-java/eclipse-ecj/Manifest b/dev-java/eclipse-ecj/Manifest
new file mode 100644
index 000000000000..0dbbec09bec3
--- /dev/null
+++ b/dev-java/eclipse-ecj/Manifest
@@ -0,0 +1,2 @@
+MD5 dfb8bbd6fb45ae1d6138d9d093b9b843 eclipse-ecj-3.1.ebuild 624
+MD5 8ee9e012d802d00bfc325052848db7f8 files/digest-eclipse-ecj-3.1 75
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-3.1.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-3.1.ebuild
new file mode 100644
index 000000000000..1208fa09a0eb
--- /dev/null
+++ b/dev-java/eclipse-ecj/eclipse-ecj-3.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2005 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.ebuild,v 1.1 2005/08/24 21:39:35 karltk Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="Eclipse Compiler for Java"
+HOMEPAGE="http://www.eclipse.org/"
+SRC_URI="http://www.gentoo.org/~karltk/projects/java/distfiles/${P}-gentoo.tar.bz2"
+LICENSE="EPL-1.0"
+KEYWORDS="~x86"
+SLOT="3.1"
+
+IUSE="gnome mozilla"
+
+RDEPEND=">=virtual/jre-1.4"
+
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.4
+ dev-java/ant"
+
+src_compile() {
+ ant || die "Failed to compile ecj.jar"
+}
+
+src_install() {
+ java-pkg_dojar ecj.jar || die "ecj.jar not installable"
+
+ exeinto /usr/bin
+ doexe ecj-3.1
+}
+
diff --git a/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1 b/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1
new file mode 100644
index 000000000000..d70d61c82f3c
--- /dev/null
+++ b/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.1
@@ -0,0 +1 @@
+MD5 dbe4c64cf878337c20872597b4e6c58b eclipse-ecj-3.1-gentoo.tar.bz2 537364
diff --git a/dev-java/eclipse-ecj/metadata.xml b/dev-java/eclipse-ecj/metadata.xml
new file mode 100644
index 000000000000..c5de3c663d31
--- /dev/null
+++ b/dev-java/eclipse-ecj/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+
+<longdescription>
+ECJ is the Eclipse Compiler for Java. It's a separate packaging of
+the embedded Java compiler that comes with Eclipse. It can be used
+as a batch-compiler by running the ecj-3.1 script, or it can be
+used with Ant by using the -lib option to and and setting
+-Dbuild.compiler=ecj
+</longdescription>
+
+</pkgmetadata>