summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2011-11-09 19:17:24 +0000
committerRalph Sennhauser <sera@gentoo.org>2011-11-09 19:17:24 +0000
commit41555cc15ac400fbb849f8766ca17c7f4aad0936 (patch)
tree82e93d4d4ed942af3daeb4b513b50fb8894256e9 /dev-java/guava
parentBump to 0.6 for #389603 (diff)
downloadgentoo-2-41555cc15ac400fbb849f8766ca17c7f4aad0936.tar.gz
gentoo-2-41555cc15ac400fbb849f8766ca17c7f4aad0936.tar.bz2
gentoo-2-41555cc15ac400fbb849f8766ca17c7f4aad0936.zip
Initial import. Thanks to James Le Cuirot <chewi@aura-online.co.uk> for the initial ebuild submitted to java-overlay
(Portage version: 2.1.10.32/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/guava')
-rw-r--r--dev-java/guava/ChangeLog11
-rw-r--r--dev-java/guava/guava-07.ebuild40
-rw-r--r--dev-java/guava/metadata.xml8
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/guava/ChangeLog b/dev-java/guava/ChangeLog
new file mode 100644
index 000000000000..12c3bbff37ef
--- /dev/null
+++ b/dev-java/guava/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/guava
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/guava/ChangeLog,v 1.1 2011/11/09 19:17:24 sera Exp $
+
+*guava-07 (09 Nov 2011)
+
+ 09 Nov 2011; Ralph Sennhauser <sera@gentoo.org> +guava-07.ebuild,
+ +metadata.xml:
+ Initial import. Thanks to James Le Cuirot <chewi@aura-online.co.uk> for the
+ initial ebuild submitted to java-overlay.
+
diff --git a/dev-java/guava/guava-07.ebuild b/dev-java/guava/guava-07.ebuild
new file mode 100644
index 000000000000..205835172abf
--- /dev/null
+++ b/dev-java/guava/guava-07.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/guava/guava-07.ebuild,v 1.1 2011/11/09 19:17:24 sera Exp $
+
+EAPI="4"
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+MY_P="${PN}-r${PV}"
+DESCRIPTION="A collection of Google's core Java libraries"
+HOMEPAGE="http://code.google.com/p/guava-libraries/"
+SRC_URI="http://guava-libraries.googlecode.com/files/${MY_P}.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEP="
+ dev-java/jsr305:0
+ java-virtuals/jdk-with-com-sun:0"
+RDEPEND="${COMMON_DEP}
+ >=virtual/jre-1.5"
+DEPEND="${COMMON_DEP}
+ >=virtual/jdk-1.5
+ app-arch/unzip"
+
+S="${WORKDIR}/${MY_P}"
+JAVA_GENTOO_CLASSPATH="jsr305"
+
+java_prepare() {
+ unpack ./${PN}-src-r${PV}.zip
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc README
+}
diff --git a/dev-java/guava/metadata.xml b/dev-java/guava/metadata.xml
new file mode 100644
index 000000000000..5c1de9832cf2
--- /dev/null
+++ b/dev-java/guava/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<longdescription lang="en">
+The Guava project contains several of Google's core libraries that we rely on in our Java-based projects: collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O, and so forth.
+</longdescription>
+</pkgmetadata>