diff options
author | Vlastimil Babka <caster@gentoo.org> | 2006-09-18 21:21:42 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2006-09-18 21:21:42 +0000 |
commit | 7fd5aa94466f42a6e4135fa2ea41f5930f1d0d90 (patch) | |
tree | cb947454c97ff0170a2fcc15f79178c86b12a084 /dev-java/xerces | |
parent | Initial commit, ebuild by me. (diff) | |
download | historical-7fd5aa94466f42a6e4135fa2ea41f5930f1d0d90.tar.gz historical-7fd5aa94466f42a6e4135fa2ea41f5930f1d0d90.tar.bz2 historical-7fd5aa94466f42a6e4135fa2ea41f5930f1d0d90.zip |
Revision bump to fix bug #82561 and #131141 for everyone. Dependencies and ebuild style cleanup.
Package-Manager: portage-2.1.2_pre1
Diffstat (limited to 'dev-java/xerces')
-rw-r--r-- | dev-java/xerces/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/xerces/files/digest-xerces-2.7.1-r2 | 3 | ||||
-rw-r--r-- | dev-java/xerces/xerces-2.7.1-r2.ebuild | 58 |
3 files changed, 70 insertions, 1 deletions
diff --git a/dev-java/xerces/ChangeLog b/dev-java/xerces/ChangeLog index bcd23ecb02e7..4546c23cb67c 100644 --- a/dev-java/xerces/ChangeLog +++ b/dev-java/xerces/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/xerces # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v 1.62 2006/09/13 06:38:15 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v 1.63 2006/09/18 21:21:42 caster Exp $ + +*xerces-2.7.1-r2 (18 Sep 2006) + + 18 Sep 2006; Vlastimil Babka <caster@gentoo.org> + -files/xerces-2.7.1-r1-gentoo.patch, -xerces-2.7.1-r1.ebuild, + +xerces-2.7.1-r2.ebuild: + Revision bump to fix bug #82561 and #131141 for everyone. Dependencies and + ebuild style cleanup. 13 Sep 2006; <nichoj@gentoo.org> xerces-2.7.1-r1.ebuild: Restored lost ~ppc64 keyword. diff --git a/dev-java/xerces/files/digest-xerces-2.7.1-r2 b/dev-java/xerces/files/digest-xerces-2.7.1-r2 new file mode 100644 index 000000000000..ea327fc24a0d --- /dev/null +++ b/dev-java/xerces/files/digest-xerces-2.7.1-r2 @@ -0,0 +1,3 @@ +MD5 487701cad13bcf87cec21ed2d782ca45 Xerces-J-src.2.7.1.tar.gz 1688121 +RMD160 6756668eeba082df1edb215a41b28c3eac7bc7ab Xerces-J-src.2.7.1.tar.gz 1688121 +SHA256 c0fc556874508b70e31a0a202d1c3e189a0904a6c62563837cdb8b1d9202fd48 Xerces-J-src.2.7.1.tar.gz 1688121 diff --git a/dev-java/xerces/xerces-2.7.1-r2.ebuild b/dev-java/xerces/xerces-2.7.1-r2.ebuild new file mode 100644 index 000000000000..4cd3f055ffa2 --- /dev/null +++ b/dev-java/xerces/xerces-2.7.1-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.7.1-r2.ebuild,v 1.1 2006/09/18 21:21:42 caster Exp $ + +inherit eutils versionator java-pkg-2 java-ant-2 + +DIST_PN="Xerces-J" +SRC_PV="$(replace_all_version_separators _ )" +DESCRIPTION="The next generation of high performance, fully compliant XML parsers in the Apache Xerces family" +HOMEPAGE="http://xml.apache.org/xerces2-j/index.html" +SRC_URI="mirror://apache/xml/${PN}-j/${DIST_PN}-src.${PV}.tar.gz" + +LICENSE="Apache-1.1" +SLOT="2" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="doc examples source" + +RDEPEND=">=virtual/jre-1.4 + =dev-java/xml-commons-external-1.3* + >=dev-java/xml-commons-resolver-1.1" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.6.5-r14 + >=dev-java/xjavac-20041208 + source? ( app-arch/zip ) + ${RDEPEND}" + +S="${WORKDIR}/${PN}-${SRC_PV}" + +src_unpack() { + unpack ${A} + + cd "${S}" + epatch ${FILESDIR}/${P}-gentoo.patch + epatch ${FILESDIR}/${P}-no_dom3.patch + + mkdir tools && cd tools + java-pkg_jar-from xml-commons-external-1.3 xml-apis.jar + java-pkg_jar-from xml-commons-resolver xml-commons-resolver.jar resolver.jar +} + +src_compile() { + eant -lib "$(java-pkg_getjars --build-only xjavac-1)" jar $(use_doc javadocs) +} + +src_install() { + java-pkg_dojar build/xercesImpl.jar + + dodoc TODO STATUS README ISSUES + java-pkg_dohtml Readme.html + + use doc && java-pkg_dohtml -r build/docs/javadocs + if use examples; then + dodir /usr/share/doc/${PF}/examples + cp -r samples/* ${D}/usr/share/doc/${PF}/examples + fi + + use source && java-pkg_dosrc ${S}/src/org +} |