summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-10-30 19:08:58 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-10-30 19:08:58 +0000
commitba2715aa1bf3a7e541e07f22ef10ce0a6388fb55 (patch)
treee5fb027b739d61dcff42fe8b65039e4672bd859a /dev-java/jgroups
parentinital import, ebuild contributed by Dan <dan@intuitivelyobvious.net> (diff)
downloadhistorical-ba2715aa1bf3a7e541e07f22ef10ce0a6388fb55.tar.gz
historical-ba2715aa1bf3a7e541e07f22ef10ce0a6388fb55.tar.bz2
historical-ba2715aa1bf3a7e541e07f22ef10ce0a6388fb55.zip
inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
Diffstat (limited to 'dev-java/jgroups')
-rw-r--r--dev-java/jgroups/ChangeLog9
-rw-r--r--dev-java/jgroups/Manifest14
-rw-r--r--dev-java/jgroups/files/digest-jgroups-2.2.71
-rw-r--r--dev-java/jgroups/jgroups-2.2.7.ebuild56
-rw-r--r--dev-java/jgroups/metadata.xml5
5 files changed, 85 insertions, 0 deletions
diff --git a/dev-java/jgroups/ChangeLog b/dev-java/jgroups/ChangeLog
new file mode 100644
index 000000000000..0b8baac19dfa
--- /dev/null
+++ b/dev-java/jgroups/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/jgroups
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgroups/ChangeLog,v 1.1 2004/10/30 19:08:58 axxo Exp $
+
+*jgroups-2.2.7 (30 Oct 2004)
+
+ 30 Oct 2004; Thomas Matthijs <axxo@gentoo.org> +jgroups-2.2.7.ebuild:
+ inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
+
diff --git a/dev-java/jgroups/Manifest b/dev-java/jgroups/Manifest
new file mode 100644
index 000000000000..90ee6388c409
--- /dev/null
+++ b/dev-java/jgroups/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 d405c9e67dd66a22ec1771678309bce4 jgroups-2.2.7.ebuild 1444
+MD5 77faa7e92caf590c72505399e964ba64 ChangeLog 378
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+MD5 2d0fc8f95c511b631fb60b33d6fbd5dc files/digest-jgroups-2.2.7 67
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBg+dO/rLF9B432nYRAomeAJ43InC2+xt3xGDZD0QKhgHgWlw3JACcC+Cv
+0Urso3wzqfmljhzTWIvryrk=
+=ADAX
+-----END PGP SIGNATURE-----
diff --git a/dev-java/jgroups/files/digest-jgroups-2.2.7 b/dev-java/jgroups/files/digest-jgroups-2.2.7
new file mode 100644
index 000000000000..5bf652f2b360
--- /dev/null
+++ b/dev-java/jgroups/files/digest-jgroups-2.2.7
@@ -0,0 +1 @@
+MD5 19a5d8d645d398768897b7a03ebdbcf9 JGroups-2.2.7.src.zip 4294564
diff --git a/dev-java/jgroups/jgroups-2.2.7.ebuild b/dev-java/jgroups/jgroups-2.2.7.ebuild
new file mode 100644
index 000000000000..ac4845e835eb
--- /dev/null
+++ b/dev-java/jgroups/jgroups-2.2.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2004 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.ebuild,v 1.1 2004/10/30 19:08:58 axxo Exp $
+
+inherit java-pkg
+
+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="~x86 ~amd64"
+RDEPEND=" =virtual/jre-1.4*
+ dev-java/concurrent-util
+ dev-java/jms"
+DEPEND="${RDEPEND}
+ =virtual/jdk-1.4*
+ >=dev-java/ant-core-1.5
+ junit? (
+ dev-java/commons-logging
+ dev-java/junit
+ dev-java/log4j
+ )"
+IUSE="doc junit jikes"
+
+src_unpack() {
+ unpack ${A}
+ mv JGroups-${PV}.src ${P}
+ cd ${S}/lib
+ rm *.jar
+ java-pkg_jar-from concurrent-util
+ java-pkg_jar-from jms
+ if use junit ; then
+ ewarn "WARNING: Running unit tests can take a long time."
+ java-pkg_jar-from junit
+ java-pkg_jar-from commons-logging
+ java-pkg_jar-from log4j
+ fi
+}
+
+src_compile() {
+ local antflags="compile-1.4 jgroups-core.jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
+ use junit && antflags="${antflags} unittests"
+ ant ${antflags} || die "build failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/jgroups-core.jar
+ dodoc doc/* CREDITS INSTALL.html README
+ if use doc ; then
+ cd dist
+ java-pkg_dohtml -r javadoc
+ fi
+}
diff --git a/dev-java/jgroups/metadata.xml b/dev-java/jgroups/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/jgroups/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+</pkgmetadata>