mirror of
https://github.com/gentoo-mirror/gentoo-zh.git
synced 2025-04-10 11:58:43 -04:00
dev-java/oraclejdk-bin: make pkgcheck happy
This commit is contained in:
parent
74accfacc0
commit
fffc925ed3
@ -1,4 +1,4 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -9,8 +9,8 @@ DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="https://www.oracle.com/java"
|
||||
SRC_URI="https://download.oracle.com/java/21/archive/jdk-${PV}_linux-x64_bin.tar.gz"
|
||||
S="${WORKDIR}/jdk-${PV}"
|
||||
SLOT="21"
|
||||
LICENSE="NFTC"
|
||||
SLOT="21"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa +commercial cups headless-awt +source"
|
||||
RESTRICT="bindist mirror preserve-libs strip"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -6,17 +6,16 @@ EAPI=8
|
||||
inherit java-vm-2
|
||||
|
||||
MY_PV=${PV/./u}
|
||||
SLOT=$(ver_cut 1)
|
||||
|
||||
SRC_URI="jdk-${MY_PV}-linux-x64.tar.gz"
|
||||
|
||||
DESCRIPTION="Oracle's Java SE Development Kit"
|
||||
HOMEPAGE="http://www.oracle.com/technetwork/java/javase/"
|
||||
SRC_URI="jdk-${MY_PV}-linux-x64.tar.gz"
|
||||
S="${WORKDIR}/jdk1.8.0_${PV/8./}"
|
||||
LICENSE="OTN"
|
||||
SLOT=$(ver_cut 1)
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="alsa cups headless-awt selinux +source +javafx fontconfig"
|
||||
IUSE="+alsa cups headless-awt selinux +source +javafx fontconfig"
|
||||
REQUIRED_USE="javafx? ( alsa )"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/baselayout-java-0.1.0-r1
|
||||
@ -68,8 +67,6 @@ pkg_nofetch() {
|
||||
RESTRICT="preserve-libs splitdebug fetch"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}/jdk1.8.0_${PV/8./}"
|
||||
|
||||
src_install() {
|
||||
local dest="/opt/${P}"
|
||||
local ddest="${ED}/${dest#/}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user