You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/xjavac/xjavac-20041208-r5.ebuild

33 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/xjavac/xjavac-20041208-r5.ebuild,v 1.13 2012/01/02 09:02:00 sera Exp $
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"
HOMEPAGE="http://cvs.apache.org/viewcvs.cgi/xml-xerces/java/tools/src/XJavac.java"
LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~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"
src_unpack() {
unpack ${A}
cd "${S}"
cp "${FILESDIR}/${P}-build.xml" ./build.xml || die" failed to cp build.xml"
epatch "${FILESDIR}/${PN}-ibm-1_5.patch"
epatch "${FILESDIR}/${PN}-more-vendors.patch"
}
src_compile() {
eant jar -Dclasspath=$(java-pkg_getjars ant-core)
}
src_install() {
java-pkg_dojar dist/${PN}.jar
}