summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-10-30 18:40:22 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-10-30 18:40:22 +0000
commit0ea43a4b0d3974c832eea29dccff9369f96e7ac9 (patch)
tree9312ad0d6bd54ba2e19704b138d55bd508240280 /dev-java/trove
parentAdded three flags for app-text/crm114: normalizemime, mew, mimencode. #63388. (diff)
downloadgentoo-2-0ea43a4b0d3974c832eea29dccff9369f96e7ac9.tar.gz
gentoo-2-0ea43a4b0d3974c832eea29dccff9369f96e7ac9.tar.bz2
gentoo-2-0ea43a4b0d3974c832eea29dccff9369f96e7ac9.zip
inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
Diffstat (limited to 'dev-java/trove')
-rw-r--r--dev-java/trove/ChangeLog10
-rw-r--r--dev-java/trove/Manifest2
-rw-r--r--dev-java/trove/files/digest-trove-1.0.21
-rw-r--r--dev-java/trove/metadata.xml5
-rw-r--r--dev-java/trove/trove-1.0.2.ebuild47
5 files changed, 65 insertions, 0 deletions
diff --git a/dev-java/trove/ChangeLog b/dev-java/trove/ChangeLog
new file mode 100644
index 000000000000..549552aea64d
--- /dev/null
+++ b/dev-java/trove/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/trove
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/trove/ChangeLog,v 1.1 2004/10/30 18:40:22 axxo Exp $
+
+*trove-1.0.2 (30 Oct 2004)
+
+ 30 Oct 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml,
+ +trove-1.0.2.ebuild:
+ inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
+
diff --git a/dev-java/trove/Manifest b/dev-java/trove/Manifest
new file mode 100644
index 000000000000..38a561bc4964
--- /dev/null
+++ b/dev-java/trove/Manifest
@@ -0,0 +1,2 @@
+MD5 4c628ad27c6dae223f02c100d5aa4bfd trove-1.0.2.ebuild 1100
+MD5 bb1bef8a378fc9bfa0c057b4f8c12a00 files/digest-trove-1.0.2 63
diff --git a/dev-java/trove/files/digest-trove-1.0.2 b/dev-java/trove/files/digest-trove-1.0.2
new file mode 100644
index 000000000000..a79548e39ad2
--- /dev/null
+++ b/dev-java/trove/files/digest-trove-1.0.2
@@ -0,0 +1 @@
+MD5 a246a09db112b7986b02c2a9f771bae0 trove-1.0.2.tar.gz 796214
diff --git a/dev-java/trove/metadata.xml b/dev-java/trove/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/trove/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/trove/trove-1.0.2.ebuild b/dev-java/trove/trove-1.0.2.ebuild
new file mode 100644
index 000000000000..a17ddb3956d4
--- /dev/null
+++ b/dev-java/trove/trove-1.0.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/trove/trove-1.0.2.ebuild,v 1.1 2004/10/30 18:40:22 axxo Exp $
+
+inherit java-pkg
+
+DESCRIPTION="GNU Trove: High performance collections for Java."
+SRC_URI="mirror://sourceforge/trove4j/${P}.tar.gz"
+HOMEPAGE="http://trove4j.sourceforge.net"
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4"
+IUSE="doc junit jikes"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ rm -f lib/*.jar
+ rm -fr javadocs/*
+}
+
+src_compile() {
+ mkdir build
+ javac_cmd="javac"
+ use jikes && javac_cmd="jikes -bootclasspath ${JAVA_HOME}/jre/lib/rt.jar"
+
+ cd src
+ javac -nowarn -d ${S}/build $(find -name "*.java") \
+ || die "Failed to compile ${i}"
+
+ if use doc ; then
+ mkdir ${S}/javadoc
+ javadoc -quiet -d ${S}/javadoc $(find * -type d | tr '/' '.')
+ fi
+
+ cd ${S}
+
+ jar cf lib/${PN}.jar -C build gnu
+}
+
+src_install() {
+ java-pkg_dojar lib/${PN}.jar
+ dodoc *.txt ChangeLog AUTHORS
+ use doc && java-pkg_dohtml -r javadoc
+}