diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /dev-java/jol-core/jol-core-0.16.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-java/jol-core/jol-core-0.16.ebuild')
-rw-r--r-- | dev-java/jol-core/jol-core-0.16.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/jol-core/jol-core-0.16.ebuild b/dev-java/jol-core/jol-core-0.16.ebuild new file mode 100644 index 000000000000..a36940d2c74b --- /dev/null +++ b/dev-java/jol-core/jol-core-0.16.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022 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.java.net/projects/code-tools/jol/" +SRC_URI="https://github.com/openjdk/jol/archive/refs/tags/${PV}.tar.gz -> jol-${PV}.tar.gz" + +LICENSE="GPL-2-with-classpath-exception" +SLOT="0" +KEYWORDS="amd64 ~arm arm64 ppc64 x86" + +DEPEND=" + >=virtual/jdk-1.8:* + test? ( + dev-java/asm:4 + ) +" + +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-4" +JAVA_TEST_SRC_DIR="${PN}/src/test" + +src_install() { + java-pkg-simple_src_install + einstalldocs # https://bugs.gentoo.org/789582 +} |