summaryrefslogtreecommitdiff
blob: 9e455cc5874c8075e58211f04865dc680d5d0d7c (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
# 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-analysis:9.2"

inherit java-pkg-2 java-pkg-simple

DESCRIPTION="Bytecode manipulation framework for Java (Static code analysis 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-tree:${SLOT}"
DEPEND=">=virtual/jdk-1.8:*
${CDEPEND}
"
RDEPEND=">=virtual/jre-1.8:*
${CDEPEND}
"

JAVA_GENTOO_CLASSPATH="asm-${SLOT} asm-tree-${SLOT}"
JAVA_SRC_DIR="asm-${MY_P}/${PN}/src/main/java"