New package: ibm-java (#10777)

* Add binary package of the IBM Java SDK for big and little-endian
  powerpc (power7, 8 and 9).  The jdk and openjdk packages only install
  on x86_64.
* Add ibm-java as a java provider
* The jdk and openjdk packages only install on x86_64. Add conflicts
  for ppc64 and ppc64le to jdk and openjdk.
This commit is contained in:
Mark W. Krentel
2019-03-12 18:05:47 -05:00
committed by Peter Scheibel
parent e1e5eb29d2
commit 3ed6e78338
4 changed files with 75 additions and 1 deletions

View File

@@ -66,6 +66,9 @@ class Jdk(Package):
provides('java@8', when='@1.8.0:1.8.999')
provides('java@7', when='@1.7.0:1.7.999')
conflicts('target=ppc64', msg='jdk is only available for x86_64')
conflicts('target=ppc64le', msg='jdk is only available for x86_64')
# FIXME:
# 1. `extends('java')` doesn't work, you need to use `extends('jdk')`
# 2. Packages cannot extend multiple packages, see #987