summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-01-12 21:35:20 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-01-12 21:35:20 +0000
commita4df62276fa954c88d6df352f3507269f8b62a2b (patch)
tree76e6f4c182495da1ef5edc9d2291aba2ac895c7e /dev-java/spice-jndikit
parentStable on ppc wrt bug 159855 (diff)
downloadgentoo-2-a4df62276fa954c88d6df352f3507269f8b62a2b.tar.gz
gentoo-2-a4df62276fa954c88d6df352f3507269f8b62a2b.tar.bz2
gentoo-2-a4df62276fa954c88d6df352f3507269f8b62a2b.zip
Initial addition. Ebuild done by me. Fixes bug #161526.
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'dev-java/spice-jndikit')
-rw-r--r--dev-java/spice-jndikit/ChangeLog10
-rw-r--r--dev-java/spice-jndikit/Manifest16
-rw-r--r--dev-java/spice-jndikit/files/digest-spice-jndikit-1.23
-rw-r--r--dev-java/spice-jndikit/metadata.xml11
-rw-r--r--dev-java/spice-jndikit/spice-jndikit-1.2.ebuild49
5 files changed, 89 insertions, 0 deletions
diff --git a/dev-java/spice-jndikit/ChangeLog b/dev-java/spice-jndikit/ChangeLog
new file mode 100644
index 000000000000..5f0423a60802
--- /dev/null
+++ b/dev-java/spice-jndikit/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/spice-jndikit
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/ChangeLog,v 1.1 2007/01/12 21:35:20 betelgeuse Exp $
+
+*spice-jndikit-1.2 (12 Jan 2007)
+
+ 12 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +spice-jndikit-1.2.ebuild:
+ Initial addition. Ebuild done by me. Fixes bug #161526.
+
diff --git a/dev-java/spice-jndikit/Manifest b/dev-java/spice-jndikit/Manifest
new file mode 100644
index 000000000000..7b9c34bb3f1c
--- /dev/null
+++ b/dev-java/spice-jndikit/Manifest
@@ -0,0 +1,16 @@
+DIST spice-jndikit-1.2-src.tar.gz 23084 RMD160 b920bb4df8f3bd2b0a368d9faac0d232b0355970 SHA1 7b9741ff3db4f4a2f5a9981ea4d818abf76fa78d SHA256 3001e72223786e25a132ce8c41ff5e1d9fd8826e98122d5b73517aefd908e11a
+EBUILD spice-jndikit-1.2.ebuild 1247 RMD160 847f7383f295666dbc850637a04ac688b1c44553 SHA1 173a158278d6817dfd574d5244f297df628518e1 SHA256 9e9feb719eac34ff079f85b46d245cf84af24ce69f0d508a711f0ece941e14ee
+MD5 a474b1b12ff3b4bcb4df0568bfda6f1e spice-jndikit-1.2.ebuild 1247
+RMD160 847f7383f295666dbc850637a04ac688b1c44553 spice-jndikit-1.2.ebuild 1247
+SHA256 9e9feb719eac34ff079f85b46d245cf84af24ce69f0d508a711f0ece941e14ee spice-jndikit-1.2.ebuild 1247
+MISC ChangeLog 313 RMD160 ef73b5cf5fc2b7dec7a15a055ee9650426b45dc7 SHA1 af4f28ccef9e87f0141a872b1be81809bb73de73 SHA256 fd7f043f979ffdcbc83087c62d0ba26214e5344e4b08c9c7988d2d75421256e5
+MD5 cc69ca1887b0dee210790d7b89e198f0 ChangeLog 313
+RMD160 ef73b5cf5fc2b7dec7a15a055ee9650426b45dc7 ChangeLog 313
+SHA256 fd7f043f979ffdcbc83087c62d0ba26214e5344e4b08c9c7988d2d75421256e5 ChangeLog 313
+MISC metadata.xml 388 RMD160 d8bef82a52318949d0ca495ce201e41db3031749 SHA1 b6db9d02f95ffdcd5e6de9b2807342db55f9e6db SHA256 b03e7f90f36646c45007c3d5976f55850f026632f8a4feb5409198d92ad213a6
+MD5 17092269fcc08822ecebc387dafda468 metadata.xml 388
+RMD160 d8bef82a52318949d0ca495ce201e41db3031749 metadata.xml 388
+SHA256 b03e7f90f36646c45007c3d5976f55850f026632f8a4feb5409198d92ad213a6 metadata.xml 388
+MD5 a5c50cc7d90c06f74d9d5c0dd8f0fabc files/digest-spice-jndikit-1.2 262
+RMD160 485c9336eb42df63fcfa635370d4cb43ee3598bf files/digest-spice-jndikit-1.2 262
+SHA256 f4a8af238d7f38c6c2f347282618cf734462b336d997bcab4eaa44aa3e84e3d8 files/digest-spice-jndikit-1.2 262
diff --git a/dev-java/spice-jndikit/files/digest-spice-jndikit-1.2 b/dev-java/spice-jndikit/files/digest-spice-jndikit-1.2
new file mode 100644
index 000000000000..9c182ae3c2fe
--- /dev/null
+++ b/dev-java/spice-jndikit/files/digest-spice-jndikit-1.2
@@ -0,0 +1,3 @@
+MD5 f70ee576be3c52126ed711c92a28360b spice-jndikit-1.2-src.tar.gz 23084
+RMD160 b920bb4df8f3bd2b0a368d9faac0d232b0355970 spice-jndikit-1.2-src.tar.gz 23084
+SHA256 3001e72223786e25a132ce8c41ff5e1d9fd8826e98122d5b73517aefd908e11a spice-jndikit-1.2-src.tar.gz 23084
diff --git a/dev-java/spice-jndikit/metadata.xml b/dev-java/spice-jndikit/metadata.xml
new file mode 100644
index 000000000000..f43299979e05
--- /dev/null
+++ b/dev-java/spice-jndikit/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+
+<longdescription lang="en">
+ Spice JNDIKit: JNDI Kit is a toolkit designed to help with the
+ construction of JNDI providers. The toolkit also provides users
+ with ready made memory-based and RMI-based contexts.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
new file mode 100644
index 000000000000..e212ec3aa93a
--- /dev/null
+++ b/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/spice-jndikit/spice-jndikit-1.2.ebuild,v 1.1 2007/01/12 21:35:20 betelgeuse Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="JNDI Kit is a toolkit designed to help with the construction of JNDI providers."
+HOMEPAGE="http://spice.codehaus.org/"
+SRC_URI="http://dist.codehaus.org/spice/distributions/${P}-src.tar.gz"
+LICENSE="Spice-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="doc source test"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND="
+ >=dev-java/java-config-2.0.31
+ !doc? ( >=virtual/jdk-1.4 )
+ doc? ( || ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) )
+ dev-java/ant-core
+ source? ( app-arch/zip )
+ test? ( dev-java/junit dev-java/ant-tasks )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ java-ant_ignore-system-classes
+ java-ant_rewrite-classpath
+}
+
+src_compile() {
+ java-pkg-2_src_compile
+ cd target/classes
+ rmic org.codehaus.spice.jndikit.rmi.server.RMINamingProviderImpl \
+ || die "rmic failed"
+}
+
+src_test() {
+ einfo "Tests need a network connection so they will fail without it"
+ eant test -DJunit.present=true \
+ -Dgentoo.classpath="$(java-pkg_getjars --build-only junit)"
+}
+
+src_install() {
+ java-pkg_newjar target/${P}.jar
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc src/java/*
+}