Migrated to generation 2 and added the source use flag.
authorPetteri Räty <betelgeuse@gentoo.org>
Thu, 11 Jan 2007 13:19:50 +0000 (13:19 +0000)
committerPetteri Räty <betelgeuse@gentoo.org>
Thu, 11 Jan 2007 13:19:50 +0000 (13:19 +0000)
Package-Manager: portage-2.1.2_rc4-r7

dev-java/swarmcache/ChangeLog
dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106
dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106-r1 [new file with mode: 0644]
dev-java/swarmcache/swarmcache-1.0_pre20050106-r1.ebuild [new file with mode: 0644]

index e2d8b9e9c35d6492e4a14c4f09be62b6abf6af7f..7667e339728d8f75b44ecf7d95a03c91e234947c 100644 (file)
@@ -1,6 +1,12 @@
 # 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:
index ba82e6fdd6c3fc7bd7f87a5b2061eb85a7d49b4f..13c9b4cad421046980b2cab4e2fb1f766257866d 100644 (file)
@@ -1 +1,3 @@
 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
diff --git a/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106-r1 b/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106-r1
new file mode 100644 (file)
index 0000000..13c9b4c
--- /dev/null
@@ -0,0 +1,3 @@
+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
diff --git a/dev-java/swarmcache/swarmcache-1.0_pre20050106-r1.ebuild b/dev-java/swarmcache/swarmcache-1.0_pre20050106-r1.ebuild
new file mode 100644 (file)
index 0000000..a9a790d
--- /dev/null
@@ -0,0 +1,42 @@
+# 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
+}