Files
gentoo/dev-java/asm-tree/asm-tree-9.2.ebuild
Volkmar W. Pogatzki 2e68f1e08d dev-java/asm-tree: MAVEN_ID
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: 27c5c8e678
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
2021-11-21 11:25:11 +01:00

29 lines
698 B
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
JAVA_PKG_IUSE="doc source"
MAVEN_ID="org.ow2.asm:asm-tree:9.2"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Bytecode manipulation framework for Java (Tree API)"
HOMEPAGE="http://asm.ow2.org"
MY_P="ASM_${PV//./_}"
SRC_URI="https://gitlab.ow2.org/asm/asm/-/archive/${MY_P}/asm-${MY_P}.tar.gz"
LICENSE="BSD"
SLOT=`ver_cut 1`
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~x64-macos"
RESTRICT="test"
CDEPEND="dev-java/asm:${SLOT}"
DEPEND=">=virtual/jdk-1.8:*
${CDEPEND}
"
RDEPEND=">=virtual/jre-1.8:*
${CDEPEND}
"
JAVA_GENTOO_CLASSPATH="asm-${SLOT}"
JAVA_SRC_DIR="asm-${MY_P}/${PN}/src/main/java"