diff options
author | Vlastimil Babka <caster@gentoo.org> | 2008-01-23 00:05:54 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2008-01-23 00:05:54 +0000 |
commit | 72d96032d24c9f14a2465e575d83e99db7f37709 (patch) | |
tree | 335e9d902d50a6754271fa787f8d1169694344d5 /dev-java/eclipse-ecj | |
parent | Marking cacti-0.8.6j-r7 ppc to make a happy tree (diff) | |
download | gentoo-2-72d96032d24c9f14a2465e575d83e99db7f37709.tar.gz gentoo-2-72d96032d24c9f14a2465e575d83e99db7f37709.tar.bz2 gentoo-2-72d96032d24c9f14a2465e575d83e99db7f37709.zip |
Revbump to inherit proper eclass, fixed bug #207000.
(Portage version: 2.1.4)
Diffstat (limited to 'dev-java/eclipse-ecj')
-rw-r--r-- | dev-java/eclipse-ecj/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/eclipse-ecj-3.3.0-r2.ebuild | 74 | ||||
-rw-r--r-- | dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.3.0-r2 | 3 |
3 files changed, 84 insertions, 1 deletions
diff --git a/dev-java/eclipse-ecj/ChangeLog b/dev-java/eclipse-ecj/ChangeLog index f4db4b464eb2..93f469b0e0bb 100644 --- a/dev-java/eclipse-ecj/ChangeLog +++ b/dev-java/eclipse-ecj/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/eclipse-ecj # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.30 2008/01/06 19:18:23 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/eclipse-ecj/ChangeLog,v 1.31 2008/01/23 00:05:53 caster Exp $ + +*eclipse-ecj-3.3.0-r2 (23 Jan 2008) + + 23 Jan 2008; Vlastimil Babka <caster@gentoo.org> + +eclipse-ecj-3.3.0-r2.ebuild: + Revbump to inherit proper eclass, fixed bug #207000. 06 Jan 2008; Vlastimil Babka <caster@gentoo.org> -files/compiler-settings-3.1, -eclipse-ecj-3.1-r13.ebuild: diff --git a/dev-java/eclipse-ecj/eclipse-ecj-3.3.0-r2.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-3.3.0-r2.ebuild new file mode 100644 index 000000000000..f316bc9b8cd9 --- /dev/null +++ b/dev-java/eclipse-ecj/eclipse-ecj-3.3.0-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2008 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.3.0-r2.ebuild,v 1.1 2008/01/23 00:05:53 caster Exp $ + +inherit eutils java-pkg-2 + +MY_PN="ecj" +DMF="R-${PV}-200706251500" +S="${WORKDIR}" + +DESCRIPTION="Eclipse Compiler for Java" +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 ~ppc64 ~x86 ~x86-fbsd" +SLOT="3.3" +IUSE="" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + sys-apps/findutils + app-arch/unzip" + +src_unpack() { + unpack ${A} + cd "${S}" + + # own package + rm -f org/eclipse/jdt/core/JDTCompilerAdapter.java + rm -fr org/eclipse/jdt/internal/antadapter + + # what the heck...?! java6 + rm -fr org/eclipse/jdt/internal/compiler/tool/ \ + org/eclipse/jdt/internal/compiler/apt/ + + # gcj feature + epatch "${FILESDIR}"/${P}-gcj.patch +} + +src_compile() { + local javac="javac" java="java" jar="jar" + + mkdir -p bootstrap + cp -a org bootstrap + + einfo "bootstrapping ${MY_PN} with javac" + + cd "${S}"/bootstrap + ${javac} $(find org/ -name '*.java') || die "${MY_PN} bootstrap failed!" + + find org/ -name '*.class' -o -name '*.properties' -o -name '*.rsc' | \ + xargs ${jar} cf ${MY_PN}.jar + + einfo "build ${MY_PN} with bootstrapped ${MY_PN}" + + cd "${S}" + ${java} -classpath bootstrap/${MY_PN}.jar \ + org.eclipse.jdt.internal.compiler.batch.Main -encoding ISO-8859-1 org \ + || die "${MY_PN} build failed!" + find org/ -name '*.class' -o -name '*.properties' -o -name '*.rsc' | \ + xargs ${jar} cf ${MY_PN}.jar +} + +src_install() { + java-pkg_dojar ${MY_PN}.jar + java-pkg_dolauncher ${MY_PN}-${SLOT} --main \ + org.eclipse.jdt.internal.compiler.batch.Main +} + +pkg_postinst() { + ewarn "to get the compiler adapter of ecj for ant do" + ewarn " # emerge ant-eclipse-ecj" +} diff --git a/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.3.0-r2 b/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.3.0-r2 new file mode 100644 index 000000000000..d8f2e5bbad7a --- /dev/null +++ b/dev-java/eclipse-ecj/files/digest-eclipse-ecj-3.3.0-r2 @@ -0,0 +1,3 @@ +MD5 9e1fc1c86c85e72df5e141069b82041d ecjsrc.zip 1215250 +RMD160 938320ae54050e322bbb98c78b0e86d241862153 ecjsrc.zip 1215250 +SHA256 f41194a9580023afd11d18b82f6815b064af83c4f9ca407a40cd8d960bd112cc ecjsrc.zip 1215250 |