summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-08-15 10:01:18 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-08-15 10:01:18 +0000
commit4e709cd91f6fffff83125bc0af6663ffb6d906fd (patch)
tree7d63dec7f79778823fa372ae34451f1c12b0aa63 /dev-java
parentAssigned to Gentoo VDR Project. (diff)
downloadgentoo-2-4e709cd91f6fffff83125bc0af6663ffb6d906fd.tar.gz
gentoo-2-4e709cd91f6fffff83125bc0af6663ffb6d906fd.tar.bz2
gentoo-2-4e709cd91f6fffff83125bc0af6663ffb6d906fd.zip
Migrated to new Java build system.
(Portage version: 2.1.1_pre5-r1)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jgroups/ChangeLog8
-rw-r--r--dev-java/jgroups/files/digest-jgroups-2.2.7-r12
-rw-r--r--dev-java/jgroups/files/digest-jgroups-2.2.7-r23
-rw-r--r--dev-java/jgroups/jgroups-2.2.7-r2.ebuild69
4 files changed, 81 insertions, 1 deletions
diff --git a/dev-java/jgroups/ChangeLog b/dev-java/jgroups/ChangeLog
index bb3d8dd154a2..468990486825 100644
--- a/dev-java/jgroups/ChangeLog
+++ b/dev-java/jgroups/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jgroups
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/ChangeLog,v 1.11 2006/01/08 09:08:59 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/ChangeLog,v 1.12 2006/08/15 10:01:18 nelchael Exp $
+
+*jgroups-2.2.7-r2 (15 Aug 2006)
+
+ 15 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org> -jgroups-2.2.7.ebuild,
+ +jgroups-2.2.7-r2.ebuild:
+ Migrated to new Java build system.
08 Jan 2006; Joseph Jezak <josejx@gentoo.org> jgroups-2.2.7-r1.ebuild:
Marked ppc stable for bug #112553.
diff --git a/dev-java/jgroups/files/digest-jgroups-2.2.7-r1 b/dev-java/jgroups/files/digest-jgroups-2.2.7-r1
index 5bf652f2b360..a91e720b9aad 100644
--- a/dev-java/jgroups/files/digest-jgroups-2.2.7-r1
+++ b/dev-java/jgroups/files/digest-jgroups-2.2.7-r1
@@ -1 +1,3 @@
MD5 19a5d8d645d398768897b7a03ebdbcf9 JGroups-2.2.7.src.zip 4294564
+RMD160 a04e4b2ee7ab93abe9e5eba13ac3fc19a37a923c JGroups-2.2.7.src.zip 4294564
+SHA256 2d2ab93c7a9f0e5bb9cad9c99b1636e99295b177b65c26145df82b91c5ca208e JGroups-2.2.7.src.zip 4294564
diff --git a/dev-java/jgroups/files/digest-jgroups-2.2.7-r2 b/dev-java/jgroups/files/digest-jgroups-2.2.7-r2
new file mode 100644
index 000000000000..a91e720b9aad
--- /dev/null
+++ b/dev-java/jgroups/files/digest-jgroups-2.2.7-r2
@@ -0,0 +1,3 @@
+MD5 19a5d8d645d398768897b7a03ebdbcf9 JGroups-2.2.7.src.zip 4294564
+RMD160 a04e4b2ee7ab93abe9e5eba13ac3fc19a37a923c JGroups-2.2.7.src.zip 4294564
+SHA256 2d2ab93c7a9f0e5bb9cad9c99b1636e99295b177b65c26145df82b91c5ca208e JGroups-2.2.7.src.zip 4294564
diff --git a/dev-java/jgroups/jgroups-2.2.7-r2.ebuild b/dev-java/jgroups/jgroups-2.2.7-r2.ebuild
new file mode 100644
index 000000000000..71b68493cb81
--- /dev/null
+++ b/dev-java/jgroups/jgroups-2.2.7-r2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/jgroups-2.2.7-r2.ebuild,v 1.1 2006/08/15 10:01:18 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="JGroups is a toolkit for reliable multicast communication."
+SRC_URI="mirror://sourceforge/javagroups/JGroups-${PV}.src.zip"
+HOMEPAGE="http://www.jgroups.org/javagroupsnew/docs/"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/bsh
+ dev-java/commons-logging
+ dev-java/log4j
+ dev-java/junit
+ dev-java/concurrent-util
+ dev-java/sun-jms"
+
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ >=dev-java/ant-core-1.5
+ app-arch/unzip
+ junit? ( dev-java/ant-tasks )"
+
+IUSE="doc junit source"
+
+S=${WORKDIR}/JGroups-${PV}.src
+
+pkg_setup() {
+ use junit && ewarn "WARNING: Running unit tests can take a long time."
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/lib
+ rm *.jar
+
+ java-pkg_jar-from bsh
+ java-pkg_jar-from commons-logging
+ java-pkg_jar-from concurrent-util
+ java-pkg_jar-from sun-jms
+ java-pkg_jar-from log4j
+
+ # Needed for compile, not only for tests:
+ java-pkg_jar-from junit
+
+ # Removing so it doesn't get installed with all the other files
+ rm ${S}/doc/LICENSE
+}
+
+src_compile() {
+ local antflags="compile-1.4 jgroups-core.jar"
+ use doc && antflags="${antflags} javadoc"
+ use junit && antflags="${antflags} unittests"
+ eant ${antflags} || die "build failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/jgroups-core.jar
+ dodoc doc/* CREDITS README
+
+ if use doc ; then
+ cd dist
+ java-pkg_dohtml -r javadoc
+ fi
+ use source && java-pkg_dosrc src/*
+}