summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jdom/jdom-1.0_beta6.ebuild')
-rw-r--r--dev-java/jdom/jdom-1.0_beta6.ebuild53
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/jdom/jdom-1.0_beta6.ebuild b/dev-java/jdom/jdom-1.0_beta6.ebuild
new file mode 100644
index 000000000000..365b8c69b601
--- /dev/null
+++ b/dev-java/jdom/jdom-1.0_beta6.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta6.ebuild,v 1.1 2005/02/03 17:14:26 luckyduck Exp $
+
+inherit java-pkg
+
+IUSE="jikes doc"
+
+MY_PN="jdom"
+MY_PV="b6"
+MY_P="${MY_PN}-${MY_PV}"
+
+DESCRIPTION="Java API to manipulate XML data"
+SRC_URI="http://www.jdom.org/dist/source/archive/${MY_P}.tar.gz"
+HOMEPAGE="http://www.jdom.org"
+LICENSE="JDOM"
+SLOT="${PV}"
+KEYWORDS="~x86 ~amd64"
+DEPEND=">=dev-java/ant-1.4.1
+ ${RDEPEND}
+ >=virtual/jdk-1.3
+ jikes? ( >=dev-java/jikes-1.15 )"
+RDEPEND=">=virtual/jre-1.3
+ =dev-java/xerces-2.6.2*
+ dev-java/saxpath
+ =dev-java/jaxen-1.1*
+ dev-java/xalan"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm -f build/*.jar lib/*.jar
+
+ cd ${S}/lib
+ java-pkg_jar-from jaxen-1.1
+ java-pkg_jar-from saxpath
+ java-pkg_jar-from xerces-2
+}
+
+src_compile() {
+ local antflags="package"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "compile problem"
+}
+
+src_install() {
+ java-pkg_dojar build/*.jar
+
+ dodoc CHANGES.txt COMMITTERS.txt LICENSE.txt README.txt TODO.txt
+ use doc && java-pkg_dohtml -r build/apidocs/*
+}