summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-09-04 22:04:07 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-09-04 22:05:10 +0000
commit1be0e195f6d27681c2215584d5e98023e20cdc5a (patch)
tree9411836af61cadfefef093901845dacb7c7f33f5
parentjava-virtuals/jdk-with-com-sun: Keyword for ppc+ppc64. Add ibm-jdk-bin-1.6 to... (diff)
downloadgentoo-1be0e195f6d27681c2215584d5e98023e20cdc5a.tar.gz
gentoo-1be0e195f6d27681c2215584d5e98023e20cdc5a.tar.bz2
gentoo-1be0e195f6d27681c2215584d5e98023e20cdc5a.zip
dev-java/guava: Keyword for ppc+ppc64. Set a dependency on >=virtual/{jdk,jre}-1.6 in lieu of hard dependency on virtual/jdk:1.7 to allow for java-with-com-sun ebuild keywording.
Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--dev-java/guava/guava-13.0.1-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-java/guava/guava-13.0.1-r1.ebuild b/dev-java/guava/guava-13.0.1-r1.ebuild
new file mode 100644
index 000000000000..0471a5049c4f
--- /dev/null
+++ b/dev-java/guava/guava-13.0.1-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A collection of Google's core Java libraries"
+HOMEPAGE="https://code.google.com/p/guava-libraries/"
+SRC_URI="http://search.maven.org/remotecontent?filepath=com/google/${PN}/${PN}/${PV}/${P}-sources.jar"
+
+LICENSE="Apache-2.0"
+SLOT="13"
+KEYWORDS="~amd64 ~x86 ~ppc ~ppc64 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
+
+CDEPEND="
+ dev-java/jsr305:0
+ java-virtuals/jdk-with-com-sun:0"
+RDEPEND="${CDEPEND}
+ >=virtual/jre-1.6"
+DEPEND="${CDEPEND}
+ app-arch/unzip
+ >=virtual/jdk-1.6"
+
+JAVA_GENTOO_CLASSPATH="jsr305"