distribution/packages/lang/jdk-zulu/package.mk

27 lines
655 B
Makefile
Raw Normal View History

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Peter Vicman (peter.vicman@gmail.com)
# Copyright (C) 2022-present Fewtarius
PKG_NAME="jdk-zulu"
PKG_VERSION="20.32.11-ca-jdk20.0.2"
PKG_LICENSE="GPLv2"
PKG_SITE="https://www.azul.com/products/zulu-enterprise/"
2022-12-30 12:37:38 +00:00
HOST_ARCH=$(uname -m)
case ${HOST_ARCH} in
aarch64)
ZULUARCH="aarch64"
;;
x86_64)
ZULUARCH="x64"
;;
esac
PKG_URL="https://cdn.azul.com/zulu/bin/zulu${PKG_VERSION}-linux_${ZULUARCH}.tar.gz"
2022-12-30 22:23:12 +00:00
PKG_LONGDESC="Zulu, the open Java(TM) platform from Azul Systems."
PKG_TOOLCHAIN="manual"
post_unpack() {
2022-12-30 22:23:12 +00:00
rm -f ${PKG_BUILD}/src.zip ${SOURCES}/${PKG_NAME}/*
}