summaryrefslogtreecommitdiff
path: root/repo/adoptopenjdk18
diff options
context:
space:
mode:
Diffstat (limited to 'repo/adoptopenjdk18')
-rw-r--r--repo/adoptopenjdk18/adoptopenjdk18.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/adoptopenjdk18/adoptopenjdk18.xibuild b/repo/adoptopenjdk18/adoptopenjdk18.xibuild
new file mode 100644
index 0000000..b997515
--- /dev/null
+++ b/repo/adoptopenjdk18/adoptopenjdk18.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+NAME="adoptopenjdk18"
+DESC="AdoptOpenJDK Java 18 binaries"
+
+MAKEDEPS="make "
+DEPS="less "
+
+PKG_VER=18.0.1
+RELEASE=10
+SOURCE="https://github.com/adoptium/temurin11-binaries/releases/download/jdk-$PKG_VER%2B10/OpenJDK${PKG_VER%%.*}U-jdk_x64_alpine-linux_hotspot_${PKG_VER}_${RELEASE}.tar.gz"
+
+package () {
+ out=$PKG_DEST/usr/lib/jvm/adoptopenjdk${PKG_VER%%.*}
+ mkdir -p $out
+ for f in NOTICE bin conf include jmods legal lib man release; do
+ mv $f $out/
+ done
+}