OpenJDK: break into two packages

This commit is contained in:
Sergei Reznikov
2015-09-11 07:35:38 +00:00
parent 30cf9c5723
commit 09277b3af2

View File

@@ -9,7 +9,7 @@ OpenJDK is the official Java SE 7 reference implementation."
HOMEPAGE="http://openjdk.java.net/"
COPYRIGHT="2015 Oracle and/or its affiliates."
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="hg+http://bitbucket.org/hamishm/haiku-jdk8u#6e3a7c2"
SOURCE_URI_2="hg+http://bitbucket.org/hamishm/haiku-jdk8u-hotspot#e5ab6f7"
SOURCE_URI_3="hg+http://bitbucket.org/hamishm/haiku-jdk8u-jdk#9b3967c"
@@ -21,7 +21,7 @@ SOURCE_URI_8="hg+http://hg.openjdk.java.net/jdk8u/jdk8u/nashorn#jdk8u40-b27"
SOURCE_DIR="jdk"
ARCHITECTURES="!x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="?x86"
SECONDARY_ARCHITECTURES="x86"
DISABLE_SOURCE_PACKAGE=yes
# at least as long as Ant and a complete SDK image are part of the sources
@@ -175,4 +175,17 @@ INSTALL()
mkdir -p $(dirname $jdkProfile)
echo "JAVA_HOME=$jdkDir" > $jdkProfile
echo "export JAVA_HOME" >> $jdkProfile
packageEntries sources \
$libDir/openjdk/src.zip \
$libDir/openjdk/sample \
$libDir/openjdk/demo
}
SUMMARY_sources="OpenJDK Development Kit (JDK) source files, demos and examples"
PROVIDES_sources="
openjdk$secondaryArchSuffix_sources = $portVersion compat >= 1.8
"
REQUIRES_sources="
openjdk$secondaryArchSuffix
"