1 |
|
# Copyright 1999-2023 Gentoo Authors
|
|
1 |
# Copyright 1999-2022 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
|
4 |
# Skeleton command:
|
|
5 |
# java-ebuilder --generate-ebuild --workdir . --pom runtime/pom.xml --download-uri https://github.com/eclipse-ee4j/jaxb-istack-commons/archive/4.1.1.tar.gz --slot 0 --keywords "~amd64 ~ppc64 ~x86" --ebuild jaxb-istack-commons-runtime-4.1.1.ebuild
|
|
6 |
|
4 |
7 |
EAPI=8
|
5 |
8 |
|
6 |
9 |
JAVA_PKG_IUSE="doc source test"
|
7 |
|
MAVEN_ID="com.sun.istack:istack-commons-runtime:${PV}"
|
|
10 |
MAVEN_ID="com.sun.istack:istack-commons-runtime:4.1.1"
|
8 |
11 |
JAVA_TESTING_FRAMEWORKS="junit-4"
|
9 |
12 |
|
10 |
13 |
inherit java-pkg-2 java-pkg-simple
|
11 |
14 |
|
12 |
15 |
DESCRIPTION="istack common utility code"
|
13 |
16 |
HOMEPAGE="https://projects.eclipse.org/projects/ee4j/istack-commons/"
|
14 |
|
SRC_URI="https://github.com/eclipse-ee4j/jaxb-istack-commons/archive/${PV}.tar.gz -> jaxb-istack-commons-${PV}.tar.gz"
|
15 |
|
S="${WORKDIR}/jaxb-istack-commons-${PV}/istack-commons"
|
|
17 |
SRC_URI="https://github.com/eclipse-ee4j/jaxb-istack-commons/archive/${PV}.tar.gz -> jaxb-istack-commons-${P}.tar.gz"
|
16 |
18 |
|
17 |
19 |
LICENSE="EPL-1.0"
|
18 |
|
SLOT="3"
|
|
20 |
SLOT="0"
|
19 |
21 |
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
20 |
22 |
|
|
23 |
# Compile dependencies
|
|
24 |
# POM: runtime/pom.xml
|
|
25 |
# jakarta.activation:jakarta.activation-api:2.1.0 -> >=dev-java/jakarta-activation-api-2.1.0:2
|
|
26 |
# POM: runtime/pom.xml
|
|
27 |
# test? junit:junit:4.13.2 -> >=dev-java/junit-4.13.2:4
|
|
28 |
|
21 |
29 |
# fails if jdk-1.8:* # https://bugs.gentoo.org/857024
|
22 |
30 |
DEPEND="
|
23 |
31 |
>=virtual/jdk-11:*
|
24 |
|
dev-java/jakarta-activation-api:1
|
|
32 |
dev-java/jakarta-activation-api:2
|
25 |
33 |
"
|
26 |
34 |
|
27 |
35 |
RDEPEND="
|
... | ... | |
30 |
38 |
|
31 |
39 |
DOCS=( ../{CONTRIBUTING,NOTICE,README}.md )
|
32 |
40 |
|
33 |
|
JAVA_CLASSPATH_EXTRA="jakarta-activation-api-1"
|
|
41 |
S="${WORKDIR}/jaxb-istack-commons-${PV}/istack-commons"
|
|
42 |
|
|
43 |
JAVA_CLASSPATH_EXTRA="jakarta-activation-api-2"
|
34 |
44 |
JAVA_SRC_DIR="runtime/src/main/java"
|
35 |
45 |
|
36 |
46 |
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
37 |
47 |
JAVA_TEST_SRC_DIR="runtime/src/test/java"
|
|
48 |
|
|
49 |
src_install() {
|
|
50 |
default # https://bugs.gentoo.org/789582
|
|
51 |
java-pkg-simple_src_install
|
|
52 |
}
|