virtual/jdk: hijack gentoo's virtuals and make icedtea listed first. bin should never be default

This commit is contained in:
Zero_Chaos 2013-09-09 19:15:21 +00:00
parent 40d71d8ba3
commit d84bd6e1d0
3 changed files with 67 additions and 0 deletions

2
virtual/jdk/Manifest Normal file
View file

@ -0,0 +1,2 @@
EBUILD jdk-1.6.0-r2.ebuild 1539 SHA256 0f4957cff1957029081453bce8c93278fb9521b7cc3dd434b06102aad57ba29e SHA512 ea9f2fab2b518f9ce22d5f14672d25917046de356ea2bef4dc6c24e827a2e88c7f07e2f82f75535645f0729e3f3dc5a72de9c2864a1960e3a50faec7826aaa3c WHIRLPOOL cc11b60dafec901646d6fd05248ec48b09c642a13e8ae9994ec7e6c2d3bd8c3283607f4737f4a61379b0c93bb859a3003ac9408807cd3a0e3ebd3b0ad12ff106
EBUILD jdk-1.7.0.ebuild 584 SHA256 4f95627ac413cc7eeec67344ec60d345bd1d97bddcfe3e1d3ae60057c0f91f70 SHA512 817291b91bf76b24c5fd56358059485ba3292d345e2dfc7f2613af11d34a4d307cf08db7efed979697caf0d847df3d570d641b4fc28cac19eda29770d0eae8a2 WHIRLPOOL 59dbb6a694a027b869bc6c82823aebf0717d8421745ddcab98365e2ca46ea652633296a00f8667589817e2e2ff5f5db653ebb38ec5a7c9cd2c0f804cfbbe35d1

View file

@ -0,0 +1,45 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/jdk/jdk-1.6.0-r2.ebuild,v 1.1 2013/06/29 10:58:51 tomwij Exp $
EAPI="4"
DESCRIPTION="Virtual for Java Development Kit (JDK)"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="1.6"
KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE=""
# The keyword voodoo below is needed to work around confilcting masking types
# and for having arch specific preferences.
# All VMs must be listed in the no use flag enabled case which reflects the
# default order for amd64 and x86.
# This is that ppc(64) users will get a masked license warning for ibm-jdk-bin
# instead of (not useful) missing keyword warning for sun-jdk. #287615
PPC_OPTS="|| (
=dev-java/ibm-jdk-bin-1.6.0*
=dev-java/icedtea-6* )"
# Prefix defaults - prefer sun-jdk over icedtea
PREFIX_OPTS="|| (
=dev-java/icedtea-bin-6*
=dev-java/icedtea-bin-1* )"
# icedtea-bin-1* is old versioning scheme of icedtea-bin-6*
RDEPEND="|| (
ppc? ( ${PPC_OPTS} )
ppc64? ( ${PPC_OPTS} )
prefix? ( ${PREFIX_OPTS} )
=dev-java/icedtea-6*
=dev-java/icedtea-bin-6*
=dev-java/icedtea-bin-1*
=dev-java/ibm-jdk-bin-1.6.0*
=dev-java/hp-jdk-bin-1.6.0*
=dev-java/diablo-jdk-1.6.0*
=dev-java/soylatte-jdk-bin-1.0*
=dev-java/apple-jdk-bin-1.6.0*
=dev-java/winjdk-bin-1.6.0* )"

View file

@ -0,0 +1,20 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/virtual/jdk/jdk-1.7.0.ebuild,v 1.10 2013/03/10 11:01:08 sera Exp $
DESCRIPTION="Virtual for Java Development Kit (JDK)"
HOMEPAGE=""
SRC_URI=""
LICENSE=""
SLOT="1.7"
KEYWORDS="~amd64 ~ia64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="|| (
=dev-java/icedtea-7*
=dev-java/icedtea-bin-7*
=dev-java/oracle-jdk-bin-1.7.0*
=dev-java/soylatte-jdk-bin-7*
)"
DEPEND=""