blob: eb361ed8b08514657764e24a8d130ac531719e20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
JAVA_PKG_IUSE="doc source test"
MAVEN_ID="org.openjdk.jol:jol-core:0.16"
JAVA_TESTING_FRAMEWORKS="junit-4"
inherit java-pkg-2 java-pkg-simple
MY_PN="${PN%-core}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Java Object Layout: Core"
HOMEPAGE="https://openjdk.org/projects/code-tools/jol/"
SRC_URI="https://github.com/openjdk/jol/archive/${PV}.tar.gz -> jol-${PV}.tar.gz"
LICENSE="GPL-2-with-classpath-exception"
SLOT="0"
KEYWORDS="amd64 arm64 ppc64"
DEPEND="
>=virtual/jdk-1.8:*
test? (
dev-java/asm:9
)
"
RDEPEND="
>=virtual/jre-1.8:*
"
S="${WORKDIR}/${MY_P}"
JAVA_SRC_DIR="${PN}/src/main/java"
JAVA_RESOURCE_DIRS="${PN}/src/main/resources"
JAVA_TEST_GENTOO_CLASSPATH="junit-4,asm-9"
JAVA_TEST_SRC_DIR="${PN}/src/test/java"
|