forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-java/ant-eclipse-ecj: version bump - new slot 4.5
Package-Manager: portage-2.2.26
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST ecjsrc-3.7.2.jar 1366333 SHA256 755d871c3066f15cfaf5ea84075527eb97c92f9685058c3a326057e797f69e6b SHA512 53b9800a53d494330ef517983c756d622eaab242552586775f85a694142faa43d348131f9b49ec6ba41066c7d19dcb339eab3140302d46ccbcc7a2edd30e9d32 WHIRLPOOL 399d971251b022cea47d6db2ddea6f6b0a325789c5a09661782d7fad2b29840863b406f1c2b5f49b8b34b55ff3283519e63a76aed09305fe92b3a0ec866c6d97 | ||
DIST ecjsrc-4.2.1.jar 1417043 SHA256 d261b2158f598640f1923805d2e9bf47eb21d8333f4e1b37f59f847ad00d48f4 SHA512 967b47a722893ea1f9eb17e69d386881dc87516e93c1d7a2a119d6fb2e053faa0d9d6455b6e4b89c3f23a3ec7ae33686f4acc305d7c6e51929ce7837c9c93eaf WHIRLPOOL 3f91bbf654d8ce0621e3ce21b5a1fce5058c86ad1dd24f89269aba6716945bff8686b6e1829c602864c15f62b45c65f5d5fe0430052dd2419da7e0c0225c95d5 | ||
DIST ecjsrc-4.4.2.jar 1764959 SHA256 ad3daf77ab710268f88c41fba87218dcdf502b423217a3799b5227ddf03b5858 SHA512 53e850fc64994b104d45f58c22f1302ceb1f23bcf69300940be5689dfa6278bea14b4506746fec7b14db6f48c24ccbee16755943fffcdd7f6ad4fe5d9ddc1f20 WHIRLPOOL 5c4e40e482b8c30143bb7043822935eac9ff6f425a9d4f175ef5968ebe0bf0cf219f0f5d8046bfc9b77e067a6ff62166bdb7f7c51f887e5675064a2ca85fe721 | ||
DIST ecjsrc-4.5.1.jar 1809543 SHA256 101a31ee0474282a287b16c46fa6e793ede43ceecaecabbd382f6e0b1b67ef72 SHA512 ee615e6fb7fb4a16ef4aeefdff93bafdbf36c9d0ce15713b81f1d4dce0ae87379fa4a6de34c32a134f78db6ed1a68d6c7b4e2a431b7de57bf8262a718fdd6553 WHIRLPOOL 739746de8dfb3c9b9ad40925e99ed58de1f594d6d4e20fd71ce07394a99f2f3f51984daf27c32a76ae5c4a25abf99c6dfb012b62858806d91a5f584d3a4da9f7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
JAVA_PKG_IUSE="doc source" | ||
|
||
inherit java-pkg-2 java-pkg-simple prefix | ||
|
||
DMF="R-${PV}-201509040015" | ||
|
||
DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler" | ||
HOMEPAGE="http://www.eclipse.org/" | ||
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops4/${DMF}/ecjsrc-${PV}.jar" | ||
|
||
LICENSE="EPL-1.0" | ||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" | ||
SLOT="4.5" | ||
IUSE="" | ||
|
||
CDEPEND="~dev-java/eclipse-ecj-${PV}:${SLOT} | ||
>=dev-java/ant-core-1.7" | ||
RDEPEND="${CDEPEND} | ||
>=virtual/jre-1.7" | ||
DEPEND="${CDEPEND} | ||
app-arch/unzip | ||
>=virtual/jdk-1.7" | ||
|
||
JAVA_GENTOO_CLASSPATH="ant-core,eclipse-ecj-${SLOT}" | ||
|
||
java_prepare() { | ||
# Remove everything but the Ant component. | ||
find org -type f ! -path "org/eclipse/jdt/internal/antadapter/*" ! -name "JDTCompilerAdapter.java" -delete || die | ||
|
||
rm build.xml || die | ||
} | ||
|
||
src_compile() { | ||
java-pkg-simple_src_compile | ||
find org -type f ! -name "*.java" | xargs jar uvf "${PN}.jar" || die "jar update failed" | ||
} | ||
|
||
src_install() { | ||
java-pkg-simple_src_install | ||
insinto /usr/share/java-config-2/compiler | ||
doins "${FILESDIR}/ecj-${SLOT}" | ||
eprefixify "${D}"/usr/share/java-config-2/compiler/ecj-${SLOT} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
JAVAC="@GENTOO_PORTAGE_EPREFIX@/usr/bin/ecj-4.5" | ||
PACKAGE="=dev-java/ant-eclipse-ecj-4.5*" | ||
SUPPORTED_TARGET="1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8" | ||
SUPPORTED_SOURCE="1.3 1.4 1.5 1.6 1.7 1.8" | ||
ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter" | ||
ANT_BUILD_COMPILER_DEPS="eclipse-ecj-4.5,ant-eclipse-ecj-4.5" | ||
GENERATION="2" |