diff options
author | Yuan Liao <liaoyuan@gmail.com> | 2022-01-28 11:49:07 -0800 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-02-04 09:17:41 +0100 |
commit | 92c3b07822ffe0cf4503241094f0d10e12e1625f (patch) | |
tree | 01e2da1fd03b594fa891ee02c4c49f447dde1d64 /dev-java/jol-core | |
parent | dev-java/antlr-runtime: Add 4.9.3 (diff) | |
download | gentoo-92c3b07822ffe0cf4503241094f0d10e12e1625f.tar.gz gentoo-92c3b07822ffe0cf4503241094f0d10e12e1625f.tar.bz2 gentoo-92c3b07822ffe0cf4503241094f0d10e12e1625f.zip |
dev-java/jol-core: Initial import
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/24006/commits/f19b1123fe4df7a150ae937b6a29b1c036b8d46a
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jol-core')
-rw-r--r-- | dev-java/jol-core/Manifest | 1 | ||||
-rw-r--r-- | dev-java/jol-core/jol-core-0.16.ebuild | 45 | ||||
-rw-r--r-- | dev-java/jol-core/metadata.xml | 11 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/jol-core/Manifest b/dev-java/jol-core/Manifest new file mode 100644 index 000000000000..f47b3094ce86 --- /dev/null +++ b/dev-java/jol-core/Manifest @@ -0,0 +1 @@ +DIST jol-0.16.tar.gz 120373 BLAKE2B 06301e1802c89c76038aec2247cbb45d96cc74afa9f099500f8e5f33b919117e85744bc2b8214b6c9e765a2579a43f256eecc2ba8537e76c81aceaa8694f49dc SHA512 d9abf579d0230f2b6d0e0a33ee11c9599b4f36d945239dd8670bbd00591137c2229e5251b32dd5405fd4b08e0070af70e6b04e4ea4be0c28c4d5bc94874858de 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..e5b9a2d11e4a --- /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 +} diff --git a/dev-java/jol-core/metadata.xml b/dev-java/jol-core/metadata.xml new file mode 100644 index 000000000000..770ce3726f19 --- /dev/null +++ b/dev-java/jol-core/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="github">openjdk/jol</remote-id> + </upstream> +</pkgmetadata> |