# 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.2 2005/05/26 20:24:28 luckyduck Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swarmcache/ChangeLog,v 1.3 2007/01/11 13:19:50 betelgeuse Exp $
+
+*swarmcache-1.0_pre20050106-r1 (11 Jan 2007)
+
+ 11 Jan 2007; Petteri Räty <betelgeuse@gentoo.org>
+ +swarmcache-1.0_pre20050106-r1.ebuild:
+ Migrated to generation 2 and added the source use flag.
26 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
swarmcache-1.0_pre20050106.ebuild:
--- /dev/null
+MD5 886d55acf23e1c091e43f492011e9851 swarmcache-1.0_pre20050106.tar.bz2 34632
+RMD160 a57b7c14af10b202c77a9c80bdd07f8aa6f3ebd1 swarmcache-1.0_pre20050106.tar.bz2 34632
+SHA256 9d34c3b20c9b227661e2aaecd4aba11bacd46d9f885cdf116cd340966081e382 swarmcache-1.0_pre20050106.tar.bz2 34632
--- /dev/null
+# Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/01/11 13:19:50 betelgeuse Exp $
+
+inherit java-pkg-2 java-ant-2
+
+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"
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/commons-collections-3
+ >=dev-java/commons-logging-1.0.4
+ >=dev-java/jgroups-2.2.7"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ >=dev-java/ant-core-1.5"
+IUSE="doc source"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}/lib"
+ java-pkg_jar-from commons-collections
+ java-pkg_jar-from commons-logging
+ java-pkg_jar-from jgroups
+}
+
+#Tests seem to start a server that just waits
+#src_test() {
+# eant test
+#}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ dodoc *.txt
+ use doc && java-pkg_dojavadoc web/api
+ use source && java-pkg_dosrc src/net
+}