summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-05-16 22:32:29 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-05-16 22:32:29 +0000
commitd3ea34461b9f710a91e0f98e73078d13f53bc31d (patch)
treefa9e614ae31ce7e75e82b92fa92cb2d28750ee60 /dev-java/commons-discovery
parentAdd ~alpha. (diff)
downloadhistorical-d3ea34461b9f710a91e0f98e73078d13f53bc31d.tar.gz
historical-d3ea34461b9f710a91e0f98e73078d13f53bc31d.tar.bz2
historical-d3ea34461b9f710a91e0f98e73078d13f53bc31d.zip
One step closer to rid us of the jakarta-commons.eclass
Diffstat (limited to 'dev-java/commons-discovery')
-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..223a732f34ee 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 41188cfba5067750053ecfaf8efc8984 commons-discovery-0.2.ebuild 1126
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 b8e096d4c5fe573c99328c647bc26eb3 commons-discovery-0.2-r1.ebuild 1225
+MD5 caeeb012dfde62b8fd637e109a0758b5 ChangeLog 944
+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