From 9f58fe4bcba79bfdbb7f6fda2265cd7fd38902dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B8=D1=80=D0=B5=D1=86=D0=BA=D0=B8=D0=B9=20=D0=9C?= =?UTF-8?q?=D0=B8=D1=85=D0=B0=D0=B8=D0=BB?= Date: Mon, 15 Apr 2019 17:35:17 +0300 Subject: [PATCH] =?UTF-8?q?dev-java/xjavac:=20=D0=B2=D0=BE=D1=81=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D1=91=D0=BD=D0=BD=D0=BE=D0=B3=D0=BE=20?= =?UTF-8?q?=D0=B8=D0=B7=20portage=20=D0=B4=D0=BB=D1=8F=20=D1=81=D0=B1?= =?UTF-8?q?=D0=BE=D1=80=D0=BA=D0=B8=20xerces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev-java/xjavac/Manifest | 1 + .../xjavac/files/xjavac-20041208-build.xml | 41 +++++++++++++++++++ dev-java/xjavac/xjavac-20110814.ebuild | 29 +++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 dev-java/xjavac/Manifest create mode 100644 dev-java/xjavac/files/xjavac-20041208-build.xml create mode 100644 dev-java/xjavac/xjavac-20110814.ebuild diff --git a/dev-java/xjavac/Manifest b/dev-java/xjavac/Manifest new file mode 100644 index 000000000..ea686a1da --- /dev/null +++ b/dev-java/xjavac/Manifest @@ -0,0 +1 @@ +DIST xjavac-20110814.tar.gz 2217 BLAKE2B 2a2faa87f958c1a089ae600798eca190c7784f5343887fd6236447e433f500bf134f9241dfd98aca4a1a0223811f9a426c0f7a3c73c4b7c4fd6c682e30561cd3 SHA512 f4c5aa437d135a8495c926387df68df8f47878e206ea8f279a7c3e8e32561dbac5a8c8002f77a2bf03863f42475cad5068e3c1031121b64b32fb4d15242c3b3e diff --git a/dev-java/xjavac/files/xjavac-20041208-build.xml b/dev-java/xjavac/files/xjavac-20041208-build.xml new file mode 100644 index 000000000..5c9a466ca --- /dev/null +++ b/dev-java/xjavac/files/xjavac-20041208-build.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/xjavac/xjavac-20110814.ebuild b/dev-java/xjavac/xjavac-20110814.ebuild new file mode 100644 index 000000000..9478e4db5 --- /dev/null +++ b/dev-java/xjavac/xjavac-20110814.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="The implementation of the javac compiler for IBM JDK 1.4 (needed for xerces-2)" +SRC_URI="mirror://gentoo/${P}.tar.gz" +#Note that the tarball has xjavac-ibm-1_5.patch already applied (not in upstream) +IUSE="" +HOMEPAGE="http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/tools/src/XJavac.java" +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +DEPEND=">=virtual/jdk-1.4" +RDEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.7" + +java_prepare() { + cp "${FILESDIR}/${PN}-20041208-build.xml" ./build.xml || die "failed to cp build.xml" +} + +src_compile() { + eant jar -Dclasspath=$(java-pkg_getjars ant-core) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar +}