Browse Source

dev-java/xjavac: удалён

* xerces собирается с xjavac из portage
mhiretskiy
parent
commit
395347ed56
  1. 1
      dev-java/xjavac/Manifest
  2. 41
      dev-java/xjavac/files/xjavac-20041208-build.xml
  3. 29
      dev-java/xjavac/xjavac-20110814.ebuild

1
dev-java/xjavac/Manifest

@ -1 +0,0 @@
DIST xjavac-20110814.tar.gz 2217 BLAKE2B 2a2faa87f958c1a089ae600798eca190c7784f5343887fd6236447e433f500bf134f9241dfd98aca4a1a0223811f9a426c0f7a3c73c4b7c4fd6c682e30561cd3 SHA512 f4c5aa437d135a8495c926387df68df8f47878e206ea8f279a7c3e8e32561dbac5a8c8002f77a2bf03863f42475cad5068e3c1031121b64b32fb4d15242c3b3e

41
dev-java/xjavac/files/xjavac-20041208-build.xml

@ -1,41 +0,0 @@
<?xml version="1.0"?>
<project name="xjavac" default="jar">
<!-- some properties -->
<property name="src.dir" value="." />
<property name="build.dir" value="build" />
<property name="docs.dir" value="docs" />
<property name="dist.dir" value="dist" />
<property name="lib.dir" value="lib" />
<property name="jarfile" value="${dist.dir}/xjavac.jar" />
<property name="target.jdk" value="1.4" />
<!-- init -->
<target name="init">
<mkdir dir="${dist.dir}" />
<mkdir dir="${build.dir}" />
<mkdir dir="${docs.dir}" />
</target>
<!-- compile everything -->
<target name="compile" depends="init">
<mkdir dir="${build.dir}" />
<javac srcdir="${src.dir}"
destdir="${build.dir}"
classpath="${classpath}"
source="${target.jdk}"
target="${target.jdk}"/>
</target>
<!-- build the jar file -->
<target name="jar" depends="compile">
<jar jarfile="${jarfile}" basedir="${build.dir}" />
</target>
<!-- clean up -->
<target name="clean">
<delete dir="${build.dir}" />
<delete dir="${docs.dir}" />
<delete dir="${dist.dir}" />
</target>
</project>

29
dev-java/xjavac/xjavac-20110814.ebuild

@ -1,29 +0,0 @@
# 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
}
Loading…
Cancel
Save