summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-01-06 23:17:04 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-01-06 23:17:04 +0000
commit7c0bffbec436b71033341fa347222fbf487bf16f (patch)
tree12b05406fc78b139270db391a22cc903f229dad1 /dev-java/swarmcache
parentremove calls to EXPORT_SYMBOL_GPL functions from slamr module (#75656) (Mani... (diff)
downloadgentoo-2-7c0bffbec436b71033341fa347222fbf487bf16f.tar.gz
gentoo-2-7c0bffbec436b71033341fa347222fbf487bf16f.tar.bz2
gentoo-2-7c0bffbec436b71033341fa347222fbf487bf16f.zip
Initial import. Ebuild based on the contribution of Dan <dan@intuitivelyobvious.net>. Fixes bug #67417.
Diffstat (limited to 'dev-java/swarmcache')
-rw-r--r--dev-java/swarmcache/ChangeLog11
-rw-r--r--dev-java/swarmcache/Manifest2
-rw-r--r--dev-java/swarmcache/files/digest-swarmcache-1.0_pre200501061
-rw-r--r--dev-java/swarmcache/metadata.xml5
-rw-r--r--dev-java/swarmcache/swarmcache-1.0_pre20050106.ebuild43
5 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/swarmcache/ChangeLog b/dev-java/swarmcache/ChangeLog
new file mode 100644
index 000000000000..3678ad918dc5
--- /dev/null
+++ b/dev-java/swarmcache/ChangeLog
@@ -0,0 +1,11 @@
+# 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.
+
diff --git a/dev-java/swarmcache/Manifest b/dev-java/swarmcache/Manifest
new file mode 100644
index 000000000000..5dd90c53a2ce
--- /dev/null
+++ b/dev-java/swarmcache/Manifest
@@ -0,0 +1,2 @@
+MD5 661622a8e641a866eea4220b9f599f6b swarmcache-1.0_pre20050106.ebuild 983
+MD5 f5ad81ba00abdcfa584c900ae4dbc7ab files/digest-swarmcache-1.0_pre20050106 78
diff --git a/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106 b/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106
new file mode 100644
index 000000000000..ba82e6fdd6c3
--- /dev/null
+++ b/dev-java/swarmcache/files/digest-swarmcache-1.0_pre20050106
@@ -0,0 +1 @@
+MD5 886d55acf23e1c091e43f492011e9851 swarmcache-1.0_pre20050106.tar.bz2 34632
diff --git a/dev-java/swarmcache/metadata.xml b/dev-java/swarmcache/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/swarmcache/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>
diff --git a/dev-java/swarmcache/swarmcache-1.0_pre20050106.ebuild b/dev-java/swarmcache/swarmcache-1.0_pre20050106.ebuild
new file mode 100644
index 000000000000..f0c59a586bd8
--- /dev/null
+++ b/dev-java/swarmcache/swarmcache-1.0_pre20050106.ebuild
@@ -0,0 +1,43 @@
+# 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/*
+}