summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/commons-discovery/ChangeLog10
-rw-r--r--dev-java/commons-discovery/Manifest8
-rw-r--r--dev-java/commons-discovery/commons-discovery-0.2-r1.ebuild36
-rw-r--r--dev-java/commons-discovery/files/digest-commons-discovery-0.2-r11
4 files changed, 50 insertions, 5 deletions
diff --git a/dev-java/commons-discovery/ChangeLog b/dev-java/commons-discovery/ChangeLog
index 9eae2e5b3982..949278477a51 100644
--- a/dev-java/commons-discovery/ChangeLog
+++ b/dev-java/commons-discovery/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-discovery
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-discovery/ChangeLog,v 1.4 2003/04/26 05:36:58 strider Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-discovery/ChangeLog,v 1.5 2004/05/16 22:32:29 zx Exp $
+
+*commons-discovery-0.2-r1 (16 May 2004)
+
+ 16 May 2004; Chris Aniszczyk <zx@gentoo.org>
+ +commons-discovery-0.2-r1.ebuild:
+ Updated ebuild to not use jakarta-commons.eclass anymore
*commons-discovery-0.2 (22 Apr 2003)
diff --git a/dev-java/commons-discovery/Manifest b/dev-java/commons-discovery/Manifest
index ce55e418e4db..1679379f1356 100644
--- a/dev-java/commons-discovery/Manifest
+++ b/dev-java/commons-discovery/Manifest
@@ -1,4 +1,6 @@
-MD5 c986a5b1efe7715c57da38bb9423ef86 files/digest-commons-discovery-0.2 76
-MD5 560eddc995286254cabe443751eaff7a ChangeLog 766
-MD5 8d049664ac90fd72ef74c9e849df4d20 commons-discovery-0.2.ebuild 1127
+MD5 ba5adfa0c64d4679bb22f7cbe4f67dbd ChangeLog 765
+MD5 41188cfba5067750053ecfaf8efc8984 commons-discovery-0.2.ebuild 1126
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 b0eef3ae0c89a0059c56f8dbca0f1b34 commons-discovery-0.2-r1.ebuild 1222
+MD5 c986a5b1efe7715c57da38bb9423ef86 files/digest-commons-discovery-0.2 76
+MD5 c986a5b1efe7715c57da38bb9423ef86 files/digest-commons-discovery-0.2-r1 76
diff --git a/dev-java/commons-discovery/commons-discovery-0.2-r1.ebuild b/dev-java/commons-discovery/commons-discovery-0.2-r1.ebuild
new file mode 100644
index 000000000000..72497da549f4
--- /dev/null
+++ b/dev-java/commons-discovery/commons-discovery-0.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-discovery/commons-discovery-0.2-r1.ebuild,v 1.1 2004/05/16 22:32:29 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="The Discovery component is about discovering, or finding, implementations for pluggable interfaces."
+HOMEPAGE="http://jakarta.apache.org/commons/discovery.html"
+SRC_URI="mirror://apache/jakarta/commons/discovery/source/${PN}-${PV}-src.tar.gz"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/commons-logging-1.0
+ dev-java/junit
+ >=dev-java/ant-1.4"
+RDEPEND=">=virtual/jdk-1.3"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc"
+IUSE="doc jikes junit"
+
+S="${WORKDIR}/${P}-src/discovery"
+
+src_compile() {
+ [ -f LICENSE.txt ] && cp LICENSE.txt ../LICENSE
+ echo "logger.jar=`java-config --classpath=commons-logging | sed s/\=.*:/\=/`" >> build.properties
+ echo "junit.jar=`java-config -p junit`" >> build.properties
+ local antflags="dist"
+ use junit && antflags="${antflags} compile.tests"
+ ant ${antflags}
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ use doc && dohtml -r dist/docs/
+ dohtml PROPOSAL.html STATUS.html best-practices.html
+ dodoc TODO
+}
diff --git a/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r1 b/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r1
new file mode 100644
index 000000000000..2db042643727
--- /dev/null
+++ b/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r1
@@ -0,0 +1 @@
+MD5 57968a150ea9b7158ac0e995c8f24080 commons-discovery-0.2-src.tar.gz 72783