From 843957ee903c36115202d5b62d9ffe1536150ebe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petteri=20R=C3=A4ty?= Date: Thu, 11 Jan 2007 13:19:50 +0000 Subject: [PATCH] Migrated to generation 2 and added the source use flag. Package-Manager: portage-2.1.2_rc4-r7 --- dev-java/swarmcache/ChangeLog | 10 ++++- .../files/digest-swarmcache-1.0_pre20050106 | 2 + .../digest-swarmcache-1.0_pre20050106-r1 | 3 ++ .../swarmcache-1.0_pre20050106-r1.ebuild | 42 +++++++++++++++++++ 4 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106-r1 create mode 100644 dev-java/swarmcache/swarmcache-1.0_pre20050106-r1.ebuild diff --git a/dev-java/swarmcache/ChangeLog b/dev-java/swarmcache/ChangeLog index e2d8b9e9c35d..7667e339728d 100644 --- a/dev-java/swarmcache/ChangeLog +++ b/dev-java/swarmcache/ChangeLog @@ -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 + +swarmcache-1.0_pre20050106-r1.ebuild: + Migrated to generation 2 and added the source use flag. 26 May 2005; Jan Brinkmann swarmcache-1.0_pre20050106.ebuild: diff --git a/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106 b/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106 index ba82e6fdd6c3..13c9b4cad421 100644 --- a/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106 +++ b/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106 @@ -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 index 000000000000..13c9b4cad421 --- /dev/null +++ b/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106-r1 @@ -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 index 000000000000..a9a790dcbdab --- /dev/null +++ b/dev-java/swarmcache/swarmcache-1.0_pre20050106-r1.ebuild @@ -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 +} -- 2.26.2