summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2009-02-11 15:22:23 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2009-02-11 15:22:23 +0000
commit67ca8f0dcfe9691ae32eaf83d759e35ed71ca1eb (patch)
tree5fd901fcf7d52d324ac4baf81478969774b174b8 /dev-java
parentadded nevow plugin cache rebuild (diff)
downloadgentoo-2-67ca8f0dcfe9691ae32eaf83d759e35ed71ca1eb.tar.gz
gentoo-2-67ca8f0dcfe9691ae32eaf83d759e35ed71ca1eb.tar.bz2
gentoo-2-67ca8f0dcfe9691ae32eaf83d759e35ed71ca1eb.zip
Install a jaxp.jar symlink to jaxp-ri.jar.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28-gentoo-r1 i686)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jaxp/ChangeLog9
-rw-r--r--dev-java/jaxp/jaxp-1.4-r1.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/dev-java/jaxp/ChangeLog b/dev-java/jaxp/ChangeLog
index cd66e72111af..90b3430e1fc5 100644
--- a/dev-java/jaxp/ChangeLog
+++ b/dev-java/jaxp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jaxp
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/ChangeLog,v 1.13 2007/12/09 14:27:47 nelchael Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/ChangeLog,v 1.14 2009/02/11 15:22:23 betelgeuse Exp $
+
+*jaxp-1.4-r1 (11 Feb 2009)
+
+ 11 Feb 2009; Petteri Räty <betelgeuse@gentoo.org> +jaxp-1.4-r1.ebuild:
+ Install a jaxp.jar symlink to jaxp-ri.jar.
09 Dec 2007; Krzysiek Pawlik <nelchael@gentoo.org> jaxp-1.4.ebuild:
Stable on ppc, see bug #200585.
diff --git a/dev-java/jaxp/jaxp-1.4-r1.ebuild b/dev-java/jaxp/jaxp-1.4-r1.ebuild
new file mode 100644
index 000000000000..efc208d9292d
--- /dev/null
+++ b/dev-java/jaxp/jaxp-1.4-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.4-r1.ebuild,v 1.1 2009/02/11 15:22:23 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="The Java API for XML Processing (JAXP)"
+HOMEPAGE="https://jaxp.dev.java.net/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.4"
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack ${A}
+ cp -i "${FILESDIR}/build.xml-${PV}" "${S}/build.xml" || die "cp failed"
+}
+
+EANT_DOC_TARGET=""
+
+src_install() {
+
+ java-pkg_dojar jaxp-ri.jar
+ dosym /usr/share/${PN}/lib/jaxp-ri.jar /usr/share/${PN}/lib/jaxp.jar
+ java-pkg_regjar /usr/share/${PN}/lib/jaxp.jar
+
+ use source && java-pkg_dosrc jaxp-1_4-api/src/{javax,org}
+ dohtml \
+ docs/JAXP-Compatibility.html \
+ docs/ReleaseNotes.html || die
+ use doc && java-pkg_dojavadoc docs/api
+
+}