mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
dev-java/corretto-bin: version 21.0.2.14.1 fix QA issues
Signed-off-by: Robert Greener <dev@greener.sh>
This commit is contained in:
@@ -6,15 +6,16 @@ EAPI=8
|
|||||||
inherit java-vm-2 toolchain-funcs
|
inherit java-vm-2 toolchain-funcs
|
||||||
|
|
||||||
MY_PV=${PV/_p/+}
|
MY_PV=${PV/_p/+}
|
||||||
SLOT=$(ver_cut 1)
|
|
||||||
|
|
||||||
SRC_URI="
|
|
||||||
https://corretto.aws/downloads/resources/${PV}/amazon-corretto-${PV}-linux-x64.tar.gz
|
|
||||||
"
|
|
||||||
|
|
||||||
DESCRIPTION="Prebuilt Java JDK binaries provided by Amazon Web Services"
|
DESCRIPTION="Prebuilt Java JDK binaries provided by Amazon Web Services"
|
||||||
HOMEPAGE="https://aws.amazon.com/corretto"
|
HOMEPAGE="https://aws.amazon.com/corretto"
|
||||||
|
|
||||||
|
SRC_URI="
|
||||||
|
https://corretto.aws/downloads/resources/${PV}/amazon-corretto-${PV}-linux-x64.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/amazon-corretto-${MY_PV}-linux-x64"
|
||||||
LICENSE="GPL-2-with-classpath-exception"
|
LICENSE="GPL-2-with-classpath-exception"
|
||||||
|
SLOT=$(ver_cut 1)
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="alsa cups headless-awt selinux source"
|
IUSE="alsa cups headless-awt selinux source"
|
||||||
|
|
||||||
@@ -42,8 +43,6 @@ RDEPEND="
|
|||||||
RESTRICT="preserve-libs splitdebug"
|
RESTRICT="preserve-libs splitdebug"
|
||||||
QA_PREBUILT="*"
|
QA_PREBUILT="*"
|
||||||
|
|
||||||
S="${WORKDIR}/amazon-corretto-${MY_PV}-linux-x64"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
pkg_pretend() {
|
||||||
if [[ "$(tc-is-softfloat)" != "no" ]]; then
|
if [[ "$(tc-is-softfloat)" != "no" ]]; then
|
||||||
die "These binaries require a hardfloat system."
|
die "These binaries require a hardfloat system."
|
||||||
@@ -88,4 +87,4 @@ src_install() {
|
|||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
java-vm-2_pkg_postinst
|
java-vm-2_pkg_postinst
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user