summaryrefslogtreecommitdiff
path: root/repo/adoptopenjdk11/adoptopenjdk11.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
committerdavidovski <david@davidovski.xyz>2022-06-09 14:35:52 +0100
commitd1fc3393cca72e8e432f827f7624e38734fad6dc (patch)
tree7b971fbfc203ff017ad78852476bfcccee170971 /repo/adoptopenjdk11/adoptopenjdk11.xibuild
parentccc722b7ed330198d82a3cf28ead76d6d107a70a (diff)
moved firmware to separate pacakges
Diffstat (limited to 'repo/adoptopenjdk11/adoptopenjdk11.xibuild')
-rw-r--r--repo/adoptopenjdk11/adoptopenjdk11.xibuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/adoptopenjdk11/adoptopenjdk11.xibuild b/repo/adoptopenjdk11/adoptopenjdk11.xibuild
index 769ec57..01f04ca 100644
--- a/repo/adoptopenjdk11/adoptopenjdk11.xibuild
+++ b/repo/adoptopenjdk11/adoptopenjdk11.xibuild
@@ -4,16 +4,20 @@ NAME="adoptopenjdk11"
DESC="AdoptOpenJDK Java 11 binaries"
MAKEDEPS="make "
-DEPS="less "
+DEPS="default-jvm less "
PKG_VER=11.0.15
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%%.*}
+ out=$PKG_DEST/usr/lib/jvm/$NAME
mkdir -p $out
for f in NOTICE bin conf include jmods legal lib man release; do
mv $f $out/
done
}
+
+postinstall () {
+ default-jvm || default-jvm $NAME
+}