summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2007-07-27 13:02:44 +0000
committerJoshua Nichols <nichoj@gentoo.org>2007-07-27 13:02:44 +0000
commit45a2873ffe5c090df0b5c3b7994a0176db324284 (patch)
tree514b4194be3cba5f6bee605c747a71d1a1a960c4
parentVersion bump imported from gcj-overlay. (diff)
downloadgentoo-2-45a2873ffe5c090df0b5c3b7994a0176db324284.tar.gz
gentoo-2-45a2873ffe5c090df0b5c3b7994a0176db324284.tar.bz2
gentoo-2-45a2873ffe5c090df0b5c3b7994a0176db324284.zip
Initial version imported from gcj-overlay.
(Portage version: 2.1.3_rc8)
-rw-r--r--dev-java/ant-eclipse-ecj/ChangeLog11
-rw-r--r--dev-java/ant-eclipse-ecj/Manifest20
-rw-r--r--dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.3.0.ebuild50
-rw-r--r--dev-java/ant-eclipse-ecj/files/compiler-settings-3.37
-rw-r--r--dev-java/ant-eclipse-ecj/files/digest-ant-eclipse-ecj-3.3.03
-rw-r--r--dev-java/ant-eclipse-ecj/metadata.xml12
6 files changed, 103 insertions, 0 deletions
diff --git a/dev-java/ant-eclipse-ecj/ChangeLog b/dev-java/ant-eclipse-ecj/ChangeLog
new file mode 100644
index 000000000000..186499d642c7
--- /dev/null
+++ b/dev-java/ant-eclipse-ecj/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/ant-eclipse-ecj
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-eclipse-ecj/ChangeLog,v 1.1 2007/07/27 13:02:44 nichoj Exp $
+
+*ant-eclipse-ecj-3.3.0 (27 Jul 2007)
+
+ 27 Jul 2007; Joshua Nichols <nichoj@gentoo.org>
+ +files/compiler-settings-3.3, +metadata.xml,
+ +ant-eclipse-ecj-3.3.0.ebuild:
+ Initial version imported from gcj-overlay.
+
diff --git a/dev-java/ant-eclipse-ecj/Manifest b/dev-java/ant-eclipse-ecj/Manifest
new file mode 100644
index 000000000000..ea4d0be957ac
--- /dev/null
+++ b/dev-java/ant-eclipse-ecj/Manifest
@@ -0,0 +1,20 @@
+AUX compiler-settings-3.3 282 RMD160 c5a6c8f8be8b4170032803e691a0a84ed2425cfa SHA1 5190a2fd42b1c23d329a537e6d5d5bd40ac93e5a SHA256 233f31f877115a0cd74dc08a3c7a9ac50a4ca707860c0f16c1de3dca77ce1f14
+MD5 3da0ffd92f13abeda55086758d8533bd files/compiler-settings-3.3 282
+RMD160 c5a6c8f8be8b4170032803e691a0a84ed2425cfa files/compiler-settings-3.3 282
+SHA256 233f31f877115a0cd74dc08a3c7a9ac50a4ca707860c0f16c1de3dca77ce1f14 files/compiler-settings-3.3 282
+DIST ecjsrc.zip 1215250 RMD160 938320ae54050e322bbb98c78b0e86d241862153 SHA1 e08a27fd77e5ac7af8f2c84beed175cd3fdd0c60 SHA256 f41194a9580023afd11d18b82f6815b064af83c4f9ca407a40cd8d960bd112cc
+EBUILD ant-eclipse-ecj-3.3.0.ebuild 1256 RMD160 61519eb6f7096c0b87f5617dd72e305eb0c3c9b4 SHA1 81b374aa0203aa5b311c5815aa5e20a4cabcc2b3 SHA256 9de2aef2722690399cb62b37a7e5967ff722710897489ec497756713cb117470
+MD5 ebbeae3960336386a63ace74d33b2215 ant-eclipse-ecj-3.3.0.ebuild 1256
+RMD160 61519eb6f7096c0b87f5617dd72e305eb0c3c9b4 ant-eclipse-ecj-3.3.0.ebuild 1256
+SHA256 9de2aef2722690399cb62b37a7e5967ff722710897489ec497756713cb117470 ant-eclipse-ecj-3.3.0.ebuild 1256
+MISC ChangeLog 339 RMD160 43a50fe57fbb1fe98a011c21b08505cd054a57e4 SHA1 759dd493968a9132a9db1c53e646bfd190a6f6c6 SHA256 b9653c5fb5c0598f760a9f6b235b706a5ab0f0e15fbc86db7fb79e1eb999a30d
+MD5 b0f3225c0f79fdbc9b4d600efbed9232 ChangeLog 339
+RMD160 43a50fe57fbb1fe98a011c21b08505cd054a57e4 ChangeLog 339
+SHA256 b9653c5fb5c0598f760a9f6b235b706a5ab0f0e15fbc86db7fb79e1eb999a30d ChangeLog 339
+MISC metadata.xml 471 RMD160 a7f40a047de904e4e2f63fce4ae9377a36b66fa0 SHA1 c855f10cc8e043bcd1e59b48d570053304a66f49 SHA256 229f3cffb80ccec1b7c3ddff609d045bd11f8004724bcb9de5d3bf9104a37d20
+MD5 72aec5cc8f858a54713b987b28f0ac4c metadata.xml 471
+RMD160 a7f40a047de904e4e2f63fce4ae9377a36b66fa0 metadata.xml 471
+SHA256 229f3cffb80ccec1b7c3ddff609d045bd11f8004724bcb9de5d3bf9104a37d20 metadata.xml 471
+MD5 d24114889ec7171b5b7d4514cb41980d files/digest-ant-eclipse-ecj-3.3.0 214
+RMD160 8823cfec079d8b8251d97fdb04384f9277ec474b files/digest-ant-eclipse-ecj-3.3.0 214
+SHA256 4452c6318ed1afe80cea4a27493f1b63c80b776686cb986e4eed9d272436040b files/digest-ant-eclipse-ecj-3.3.0 214
diff --git a/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.3.0.ebuild b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.3.0.ebuild
new file mode 100644
index 000000000000..ae58e9d63819
--- /dev/null
+++ b/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.3.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.3.0.ebuild,v 1.1 2007/07/27 13:02:44 nichoj Exp $
+
+inherit java-pkg-2
+
+MY_PN="ecj"
+DMF="R-${PV}-200706251500"
+S="${WORKDIR}"
+
+DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler"
+HOMEPAGE="http://www.eclipse.org/"
+SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF/.0}/${MY_PN}src.zip"
+
+LICENSE="EPL-1.0"
+KEYWORDS="~amd64 ~ppc ~x86"
+SLOT="3.3"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4
+ ~dev-java/eclipse-ecj-${PV}
+ >=dev-java/ant-core-1.7"
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.4
+ sys-apps/findutils"
+
+src_unpack() {
+ unpack ${A}
+ mkdir -p src/org/eclipse/jdt/{core,internal}
+ cp org/eclipse/jdt/core/JDTCompilerAdapter.java \
+ src/org/eclipse/jdt/core || die
+ cp -r org/eclipse/jdt/internal/antadapter \
+ src/org/eclipse/jdt/internal || die
+ rm -fr about* org
+}
+
+src_compile() {
+ cd src
+ ejavac -classpath "$(java-config -p ant-core,eclipse-ecj-${SLOT})" \
+ `find org/ -name '*.java'` || die "ejavac failed!"
+ find org/ -name '*.class' -o -name '*.properties' | \
+ xargs jar cf ${S}/${PN}.jar || die "jar failed!"
+}
+
+src_install() {
+ java-pkg_dojar ${PN}.jar
+ insinto /usr/share/java-config-2/compiler
+ newins ${FILESDIR}/compiler-settings-${SLOT} ecj-${SLOT}
+
+}
diff --git a/dev-java/ant-eclipse-ecj/files/compiler-settings-3.3 b/dev-java/ant-eclipse-ecj/files/compiler-settings-3.3
new file mode 100644
index 000000000000..8cc6efcb0645
--- /dev/null
+++ b/dev-java/ant-eclipse-ecj/files/compiler-settings-3.3
@@ -0,0 +1,7 @@
+JAVAC="/usr/bin/ecj-3.3"
+PACKAGE="=dev-java/ant-eclipse-ecj-3.3*"
+SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6"
+SUPPORTED_SOURCE="1.3 1.4 1.5 1.6"
+ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
+ANT_BUILD_COMPILER_DEPS="eclipse-ecj-3.3,ant-eclipse-ecj-3.3"
+GENERATION="2"
diff --git a/dev-java/ant-eclipse-ecj/files/digest-ant-eclipse-ecj-3.3.0 b/dev-java/ant-eclipse-ecj/files/digest-ant-eclipse-ecj-3.3.0
new file mode 100644
index 000000000000..d8f2e5bbad7a
--- /dev/null
+++ b/dev-java/ant-eclipse-ecj/files/digest-ant-eclipse-ecj-3.3.0
@@ -0,0 +1,3 @@
+MD5 9e1fc1c86c85e72df5e141069b82041d ecjsrc.zip 1215250
+RMD160 938320ae54050e322bbb98c78b0e86d241862153 ecjsrc.zip 1215250
+SHA256 f41194a9580023afd11d18b82f6815b064af83c4f9ca407a40cd8d960bd112cc ecjsrc.zip 1215250
diff --git a/dev-java/ant-eclipse-ecj/metadata.xml b/dev-java/ant-eclipse-ecj/metadata.xml
new file mode 100644
index 000000000000..f685f4a1f625
--- /dev/null
+++ b/dev-java/ant-eclipse-ecj/metadata.xml
@@ -0,0 +1,12 @@
+<?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>