diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 22:41:34 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 22:41:34 +0000 |
commit | 0b3aa81b31a6047a207289493acaa0faa02d873b (patch) | |
tree | c9f773edf42d6253fb89172a3fd8659bf9a2b38f /dev-java/commons-discovery | |
parent | Migrated to Generation 2. (diff) | |
download | gentoo-2-0b3aa81b31a6047a207289493acaa0faa02d873b.tar.gz gentoo-2-0b3aa81b31a6047a207289493acaa0faa02d873b.tar.bz2 gentoo-2-0b3aa81b31a6047a207289493acaa0faa02d873b.zip |
Migrated to Generation 2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/commons-discovery')
4 files changed, 68 insertions, 2 deletions
diff --git a/dev-java/commons-discovery/ChangeLog b/dev-java/commons-discovery/ChangeLog index 63a7a451cf07..f2fd3a5c675e 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-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-discovery/ChangeLog,v 1.14 2005/10/21 14:52:12 betelgeuse Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-discovery/ChangeLog,v 1.15 2006/07/22 22:41:34 nelchael Exp $ + +*commons-discovery-0.2-r3 (22 Jul 2006) + + 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +commons-discovery-0.2-r3.ebuild: + Migrated to Generation 2. 21 Oct 2005; Petteri Räty <betelgeuse@gentoo.org> commons-discovery-0.2-r2.ebuild: diff --git a/dev-java/commons-discovery/commons-discovery-0.2-r3.ebuild b/dev-java/commons-discovery/commons-discovery-0.2-r3.ebuild new file mode 100644 index 000000000000..3d9f90800f36 --- /dev/null +++ b/dev-java/commons-discovery/commons-discovery-0.2-r3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-discovery/commons-discovery-0.2-r3.ebuild,v 1.1 2006/07/22 22:41:34 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="Commons Discovery: Service Discovery component" +HOMEPAGE="http://jakarta.apache.org/commons/discovery" +SRC_URI="mirror://apache/jakarta/commons/discovery/source/${P}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="source junit doc" + +RDEPEND=">=virtual/jre-1.4 + dev-java/commons-logging" + +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + dev-java/ant-core + source? ( app-arch/zip ) + junit? ( >=dev-java/junit-3.8 )" + +S="${WORKDIR}/${P}-src/discovery" + +src_unpack() { + unpack ${A} + cd ${S} + + chmod u+w ${S}/../discovery + epatch ${FILESDIR}/${P}-gentoo.diff + + mkdir -p ${S}/target/lib && cd ${S}/target/lib + use junit && java-pkg_jar-from junit junit.jar + java-pkg_jar-from commons-logging +} + +src_compile() { + local antflags="dist" + use doc && antflags="${antflags} javadoc" + use junit && antflags="${antflags} test.discovery" + eant ${antflags} || die "compile problem" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + if use doc; then + java-pkg_dohtml PROPOSAL.html STATUS.html usersguide.html + java-pkg_dohtml -r ${S}/dist/docs/api + fi + + use source && java-pkg_dosrc ${S}/src/java/* +} diff --git a/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r2 b/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r2 index 2db042643727..21902d5ae390 100644 --- a/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r2 +++ b/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r2 @@ -1 +1,3 @@ MD5 57968a150ea9b7158ac0e995c8f24080 commons-discovery-0.2-src.tar.gz 72783 +RMD160 521a0439dd8f92d44dcf434abc0e3b6681c38048 commons-discovery-0.2-src.tar.gz 72783 +SHA256 4c3d87c991ae2079a71b428077b1276de4fc68d7b5dd2bc2f6e084b3f286f22a commons-discovery-0.2-src.tar.gz 72783 diff --git a/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r3 b/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r3 new file mode 100644 index 000000000000..21902d5ae390 --- /dev/null +++ b/dev-java/commons-discovery/files/digest-commons-discovery-0.2-r3 @@ -0,0 +1,3 @@ +MD5 57968a150ea9b7158ac0e995c8f24080 commons-discovery-0.2-src.tar.gz 72783 +RMD160 521a0439dd8f92d44dcf434abc0e3b6681c38048 commons-discovery-0.2-src.tar.gz 72783 +SHA256 4c3d87c991ae2079a71b428077b1276de4fc68d7b5dd2bc2f6e084b3f286f22a commons-discovery-0.2-src.tar.gz 72783 |