From d1fc3393cca72e8e432f827f7624e38734fad6dc Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 9 Jun 2022 14:35:52 +0100 Subject: moved firmware to separate pacakges --- repo/adoptopenjdk16/adoptopenjdk16.xibuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'repo/adoptopenjdk16/adoptopenjdk16.xibuild') diff --git a/repo/adoptopenjdk16/adoptopenjdk16.xibuild b/repo/adoptopenjdk16/adoptopenjdk16.xibuild index 414caff..f5533b4 100644 --- a/repo/adoptopenjdk16/adoptopenjdk16.xibuild +++ b/repo/adoptopenjdk16/adoptopenjdk16.xibuild @@ -4,15 +4,20 @@ NAME="adoptopenjdk16" DESC="AdoptOpenJDK Java 16 binaries" MAKEDEPS="make " +DEPS="default-jvm" PKG_VER=16.0.2 RELEASE=7 SOURCE="https://github.com/adoptium/temurin16-binaries/releases/download/jdk-$PKG_VER%2B7/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 +} -- cgit v1.2.1