diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-07-27 12:41:25 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-07-27 12:41:25 +0000 |
commit | 6c6202a6bacb0358c6097091251062c4a0d7678d (patch) | |
tree | 4267f3ef97ef97136556d3ae277f3da5a8305f60 /dev-java/jaxr | |
parent | EAPI 5 bump. Mend SRC_URI. Fixes bug 259972. (diff) | |
download | gentoo-2-6c6202a6bacb0358c6097091251062c4a0d7678d.tar.gz gentoo-2-6c6202a6bacb0358c6097091251062c4a0d7678d.tar.bz2 gentoo-2-6c6202a6bacb0358c6097091251062c4a0d7678d.zip |
EAPI 5 bump.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)
Diffstat (limited to 'dev-java/jaxr')
-rw-r--r-- | dev-java/jaxr/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jaxr/jaxr-1.0.6-r1.ebuild | 68 |
2 files changed, 75 insertions, 3 deletions
diff --git a/dev-java/jaxr/ChangeLog b/dev-java/jaxr/ChangeLog index f19fc439a75e..abc2c0e747e7 100644 --- a/dev-java/jaxr/ChangeLog +++ b/dev-java/jaxr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jaxr -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxr/ChangeLog,v 1.2 2007/08/11 21:42:02 nelchael Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxr/ChangeLog,v 1.3 2015/07/27 12:41:25 monsieurp Exp $ + +*jaxr-1.0.6-r1 (27 Jul 2015) + + 27 Jul 2015; Patrice Clement <monsieurp@gentoo.org> +jaxr-1.0.6-r1.ebuild: + EAPI 5 bump. 11 Aug 2007; Krzysiek Pawlik <nelchael@gentoo.org> metadata.xml: Remove myself from <maintainer>. @@ -10,4 +15,3 @@ 01 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> +files/jaxr-1.0.6-javadoc.patch, +metadata.xml, +jaxr-1.0.6.ebuild: Initial commit of jaxr. - diff --git a/dev-java/jaxr/jaxr-1.0.6-r1.ebuild b/dev-java/jaxr/jaxr-1.0.6-r1.ebuild new file mode 100644 index 000000000000..821393c04899 --- /dev/null +++ b/dev-java/jaxr/jaxr-1.0.6-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxr/jaxr-1.0.6-r1.ebuild,v 1.1 2015/07/27 12:41:25 monsieurp Exp $ +EAPI=5 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="Java API for XML Registries" +HOMEPAGE="https://glassfish.dev.java.net/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="CDDL" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +CDEPEND="dev-java/jaxb:2 + dev-java/jsr173:0 + dev-java/jsr67:0 + dev-java/jsr93:0 + dev-java/sun-jaf:0" +DEPEND=">=virtual/jdk-1.6 + ${CDEPEND}" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" + +S="${WORKDIR}/${PN}-ri" + +EANT_BUILD_TARGET="compile" +EANT_DOC_TARGET="javadoc-build" + +EANT_GENTOO_CLASSPATH=" + jaxb-2 + jsr67 + jsr173 + jsr93 + sun-jaf +" + +java_prepare() { + mkdir "${S}"/lib || die + + java-pkg_jar-from --into lib jaxb-2 + java-pkg_jar-from --into lib jsr67 jsr67.jar saaj-api.jar + java-pkg_jar-from --into lib jsr173 jsr173.jar jsr173_1.0_api.jar + java-pkg_jar-from --into lib jsr93 jsr93-api.jar jaxr-api.jar + java-pkg_jar-from --into lib sun-jaf + + epatch "${FILESDIR}/${P}-javadoc.patch" + + if use doc; then + java-ant_xml-rewrite \ + -f "${S}"/build.xml \ + -c -e javadoc \ + -a failonerror \ + -v "false" + fi +} + +src_install() { + java-pkg_dojar lib/${PN}-impl.jar + + use doc && java-pkg_dojavadoc javadoc + use source && java-pkg_dosrc src/java/* + +} |