summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jaxp/jaxp-1.4.ebuild')
-rw-r--r--dev-java/jaxp/jaxp-1.4.ebuild28
1 files changed, 10 insertions, 18 deletions
diff --git a/dev-java/jaxp/jaxp-1.4.ebuild b/dev-java/jaxp/jaxp-1.4.ebuild
index ac8d7a547bef..839624b8ea65 100644
--- a/dev-java/jaxp/jaxp-1.4.ebuild
+++ b/dev-java/jaxp/jaxp-1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.4.ebuild,v 1.2 2007/05/04 18:21:54 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.4.ebuild,v 1.3 2007/05/04 19:29:40 nelchael Exp $
JAVA_PKG_IUSE="doc source"
@@ -8,38 +8,30 @@ inherit java-pkg-2 java-ant-2
DESCRIPTION="The Java API for XML Processing (JAXP)"
HOMEPAGE="https://jaxp.dev.java.net/"
-SRC_URI="https://jaxp-sources.dev.java.net/files/documents/2779/42920/JAXP_14_FCS.class"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="CDDL"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-DEPEND=">=virtual/jdk-1.5"
-RDEPEND=">=virtual/jre-1.5"
-
-S="${WORKDIR}/jaxp-1_4-20061026"
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
src_unpack() {
- cd "${WORKDIR}"
- echo "A" | java -cp "${DISTDIR}" JAXP_14_FCS -console > /dev/null || die "unpack failed"
-
- cd "${S}"
- rm -v lib/*.jar
- unpack ./jaxp-api.src.zip || die
+ unpack ${A}
- cp "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" -i || die "cp failed"
+ cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
}
-src_compile() {
- eant jar #bundled javadocs but no build.xml to generate
-}
+# bundled javadocs but no build.xml to generate
+EANT_DOC_TARGET="jar"
src_install() {
- java-pkg_dojar jaxp-api.jar
- java-pkg_dojar jaxp-impl.jar
+
+ java-pkg_dojar jaxp-ri.jar
use source && java-pkg_dosrc jaxp-1_4-api/src/{javax,org}
dodoc \