summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2008-07-22 21:10:22 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2008-07-22 21:10:22 +0000
commitaab94c1c1cb85e683f9104f4eed9f2b828a8f495 (patch)
treec2d5744d1ae3c7a9f87105cd88a194306ac11788 /dev-java/xpp3
parentppc stable, bug #230269 (diff)
downloadgentoo-2-aab94c1c1cb85e683f9104f4eed9f2b828a8f495.tar.gz
gentoo-2-aab94c1c1cb85e683f9104f4eed9f2b828a8f495.tar.bz2
gentoo-2-aab94c1c1cb85e683f9104f4eed9f2b828a8f495.zip
Fix javadoc installation. Fixes bug #232688.
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-gentoo i686)
Diffstat (limited to 'dev-java/xpp3')
-rw-r--r--dev-java/xpp3/ChangeLog9
-rw-r--r--dev-java/xpp3/xpp3-1.1.4c-r1.ebuild48
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-java/xpp3/ChangeLog b/dev-java/xpp3/ChangeLog
index 3cb99ed17826..bf1b23e056e9 100644
--- a/dev-java/xpp3/ChangeLog
+++ b/dev-java/xpp3/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/xpp3
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xpp3/ChangeLog,v 1.17 2007/08/03 15:46:01 betelgeuse Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xpp3/ChangeLog,v 1.18 2008/07/22 21:10:22 betelgeuse Exp $
+
+*xpp3-1.1.4c-r1 (22 Jul 2008)
+
+ 22 Jul 2008; Petteri Räty <betelgeuse@gentoo.org> +xpp3-1.1.4c-r1.ebuild:
+ Fix javadoc installation. Fixes bug #232688.
03 Aug 2007; Petteri Räty <betelgeuse@gentoo.org> xpp3-1.1.4c.ebuild:
Remove monolithic ant support as split ant is stable now.
diff --git a/dev-java/xpp3/xpp3-1.1.4c-r1.ebuild b/dev-java/xpp3/xpp3-1.1.4c-r1.ebuild
new file mode 100644
index 000000000000..70166fa3675b
--- /dev/null
+++ b/dev-java/xpp3/xpp3-1.1.4c-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xpp3/xpp3-1.1.4c-r1.ebuild,v 1.1 2008/07/22 21:10:22 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PV=${PV/m/.M}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="An implementation of XMLPULL V1 API."
+HOMEPAGE="http://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html"
+SRC_URI="http://www.extreme.indiana.edu/dist/java-repository/${PN}/distributions/${MY_P}_src.zip"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ test? ( dev-java/ant-junit )"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+ rm -v *.jar || die
+ epatch "${FILESDIR}/${P}-build.xml.patch"
+}
+
+src_test() {
+ ANT_TASKS="ant-junit" \
+ eant -Dgentoo.classpath=$(java-pkg_getjars junit) junit_main
+}
+
+src_install() {
+ java-pkg_newjar build/${MY_P}.jar ${PN}.jar
+
+ dohtml doc/*.html || die
+ dodoc doc/*.txt || die
+
+ use doc && java-pkg_dojavadoc doc/api_impl
+ use source && java-pkg_dosrc src/java/*
+}