diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-08 21:11:01 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-08 21:11:01 +0000 |
commit | cee4ef926f22ec32df15ffb87ed57461e1f56dd6 (patch) | |
tree | 6e44b50b8591aab7409f4a3516733c15b0d05b54 /dev-java/xjavac | |
parent | Apache herd package refresh (Manifest recommit) (diff) | |
download | gentoo-2-cee4ef926f22ec32df15ffb87ed57461e1f56dd6.tar.gz gentoo-2-cee4ef926f22ec32df15ffb87ed57461e1f56dd6.tar.bz2 gentoo-2-cee4ef926f22ec32df15ffb87ed57461e1f56dd6.zip |
Initial import. Fixes #73816.
Diffstat (limited to 'dev-java/xjavac')
-rw-r--r-- | dev-java/xjavac/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/xjavac/Manifest | 3 | ||||
-rw-r--r-- | dev-java/xjavac/files/digest-xjavac-20041208 | 1 | ||||
-rw-r--r-- | dev-java/xjavac/files/xjavac-20041208-build.xml | 40 | ||||
-rw-r--r-- | dev-java/xjavac/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/xjavac/xjavac-20041208.ebuild | 35 |
6 files changed, 95 insertions, 0 deletions
diff --git a/dev-java/xjavac/ChangeLog b/dev-java/xjavac/ChangeLog new file mode 100644 index 000000000000..833b02a23d6e --- /dev/null +++ b/dev-java/xjavac/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/xjavac +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavac/ChangeLog,v 1.1 2005/01/08 21:11:01 luckyduck Exp $ + +*xjavac-20041208 (08 Jan 2005) + + 08 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, + +files/xjavac-20041208-build.xml, +xjavac-20041208.ebuild: + Initial import. Needed to remove all packed jars from xerces-2 (#63287). Fixes + #73816. + diff --git a/dev-java/xjavac/Manifest b/dev-java/xjavac/Manifest new file mode 100644 index 000000000000..29d9565e8886 --- /dev/null +++ b/dev-java/xjavac/Manifest @@ -0,0 +1,3 @@ +MD5 2deedeab3c1cd9da3f6e1906111d539d xjavac-20041208.ebuild 817 +MD5 be3862beac63be44381318b441bc3ac6 files/xjavac-20041208-build.xml 1060 +MD5 369103c55427946f5c2896d78a39a78b files/digest-xjavac-20041208 65 diff --git a/dev-java/xjavac/files/digest-xjavac-20041208 b/dev-java/xjavac/files/digest-xjavac-20041208 new file mode 100644 index 000000000000..1ead9fb286d6 --- /dev/null +++ b/dev-java/xjavac/files/digest-xjavac-20041208 @@ -0,0 +1 @@ +MD5 47e450883782e191e0e91c31a6dc2caf xjavac-20041208.tar.gz 1971 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 000000000000..efd5f6f0ae47 --- /dev/null +++ b/dev-java/xjavac/files/xjavac-20041208-build.xml @@ -0,0 +1,40 @@ +<?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}" + 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> diff --git a/dev-java/xjavac/metadata.xml b/dev-java/xjavac/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/xjavac/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> diff --git a/dev-java/xjavac/xjavac-20041208.ebuild b/dev-java/xjavac/xjavac-20041208.ebuild new file mode 100644 index 000000000000..85064c8fa505 --- /dev/null +++ b/dev-java/xjavac/xjavac-20041208.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavac/xjavac-20041208.ebuild,v 1.1 2005/01/08 21:11:01 luckyduck Exp $ + +inherit java-pkg + +DESCRIPTION="The implementation of the javac compiler for IBM JDK 1.4 (needed +for xerces-2)" +SRC_URI="mirror://gentoo/${P}.tar.gz" +HOMEPAGE="http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/tools/src/XJavac.java" +LICENSE="Apache-2.0" +SLOT="1" +KEYWORDS="~x86 ~amd64" +IUSE="doc jikes" +DEPEND=">=virtual/jdk-1.4 + jikes? ( >=dev-java/jikes-1.21 ) + >=dev-java/ant-core-1.4" +RDEPEND=">=virtual/jdk-1.4" + +src_unpack() { + unpack ${A} + cd ${S} + + cp ${FILESDIR}/${P}-build.xml ./build.xml +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "failed to build" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar +} |