--- /dev/null
+# ChangeLog for dev-java/swarmcache
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swarmcache/ChangeLog,v 1.1 2005/01/06 23:17:04 luckyduck Exp $
+
+*swarmcache-1.0_pre20050106 (07 Jan 2005)
+
+ 07 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +swarmcache-1.0_pre20050106.ebuild:
+ Initial import. Ebuild based on the contribution of Dan
+ <dan@intuitivelyobvious.net>. Fixes bug #67417.
+
--- /dev/null
+MD5 4a3975c8e8943f29dbf5615ea44f6106 swarmcache-1.0_pre20050106.ebuild 1123
+MD5 cc071d319cf12af14e7367391570e9bc ChangeLog 471
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 f5ad81ba00abdcfa584c900ae4dbc7ab files/digest-swarmcache-1.0_pre20050106 78
--- /dev/null
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swarmcache/swarmcache-1.0_pre20050106.ebuild,v 1.1 2005/01/06 23:17:04 luckyduck Exp $
+
+inherit java-pkg
+
+DESCRIPTION="SwarmCache is a simple but effective distributed cache."
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+HOMEPAGE="http://swarmcache.sourceforge.net"
+LICENSE="LGPL-2"
+SLOT="1.0"
+KEYWORDS="~x86 ~amd64"
+DEPEND=">=virtual/jre-1.3
+ jikes? ( >=dev-java/jikes-1.21 )
+ >=dev-java/ant-core-1.5"
+RDEPEND=">=virtual/jre-1.3
+ >=dev-java/commons-collections-3
+ >=dev-java/commons-logging-1.0.4
+ >=dev-java/jgroups-2.2.7"
+IUSE="doc jikes"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}/lib
+ java-pkg_jar-from commons-collections
+ java-pkg_jar-from commons-logging
+ java-pkg_jar-from jgroups
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "compile failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ dodoc *.txt
+ use doc && java-pkg_dohtml -r web/api/*
+}