Merge pull request 'feat: upgrade openjdk to v27.0.1.1+0004' (#62) from sisungo/ports:openjdk-27.0.1.1+0004 into main
Reviewed-on: #62
This commit was merged in pull request #62.
This commit is contained in:
commit
e724681edc
1 file changed
+11
-3
@@ -6,10 +6,10 @@ from lib import cpp, packie
|
||||
from lib.make import *
|
||||
|
||||
|
||||
version("27.0.0")
|
||||
version("27.0.1.1+0004")
|
||||
description("JDK implementation of the OpenJDK project.")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_managed("github://openjdk/jdk#v27ga")
|
||||
source_managed("github://openjdk/jdk27u#jdk-27.0.1.1+4-manual")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/autotools")
|
||||
@@ -26,13 +26,17 @@ builddep("linux-dev @target")
|
||||
builddep("bash")
|
||||
builddep("file")
|
||||
builddep("zip")
|
||||
builddep("openjdk @target")
|
||||
builddep("gzip")
|
||||
builddep("openjdk")
|
||||
|
||||
block_hook("autolink")
|
||||
|
||||
|
||||
def build():
|
||||
os.environ["CC"] = "clang"
|
||||
os.environ["CXX"] = "clang++"
|
||||
cpp.configure([
|
||||
f"--prefix={get_prefix('openjdk')}",
|
||||
"--enable-headless-only",
|
||||
"--enable-jvm-feature-cds",
|
||||
"--enable-jvm-feature-compiler1",
|
||||
@@ -84,7 +88,11 @@ def pack(composer):
|
||||
composer.add("legal")
|
||||
composer.add("lib")
|
||||
composer.add("release")
|
||||
for i in os.listdir("bin"):
|
||||
link(f"bin/{i}", f"/bin/{i}")
|
||||
|
||||
package("openjdk")
|
||||
dep("semi-libc @same-arch")
|
||||
dep("libcxx @same-arch")
|
||||
dep("libz @same-arch")
|
||||
on_pack(pack)
|
||||
Reference in new issue
Block a user