2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
# Skeleton command:
|
5 |
|
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/eclipse-ee4j/jaxb-api/archive/refs/tags/2.3.3.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxb-api-2.3.3.ebuild
|
|
5 |
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/eclipse-ee4j/jaxb-api/archive/refs/tags/3.0.1.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild jaxb-api-3.0.1.ebuild
|
6 |
6 |
|
7 |
7 |
EAPI=8
|
8 |
8 |
|
9 |
|
JAVA_PKG_IUSE="doc source test"
|
10 |
|
MAVEN_ID="jakarta.xml.bind:jakarta.xml.bind-api:2.3.3"
|
11 |
|
JAVA_TESTING_FRAMEWORKS="junit-4"
|
|
9 |
JAVA_PKG_IUSE="doc source"
|
|
10 |
MAVEN_ID="jakarta.xml.bind:jakarta.xml.bind-api:3.0.1"
|
12 |
11 |
|
13 |
12 |
inherit java-pkg-2 java-pkg-simple
|
14 |
13 |
|
... | ... | |
17 |
16 |
SRC_URI="https://github.com/eclipse-ee4j/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
18 |
17 |
|
19 |
18 |
LICENSE="EPL-1.0"
|
20 |
|
SLOT="2"
|
|
19 |
SLOT="3"
|
21 |
20 |
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
|
22 |
21 |
|
23 |
22 |
# Common dependencies
|
24 |
23 |
# POM: pom.xml
|
25 |
|
# jakarta.activation:jakarta.activation-api:1.2.2 -> >=dev-java/jakarta-activation-api-2.0.1:0
|
26 |
|
# jakarta.xml.bind:jakarta.xml.bind-api:2.3.3 -> >=dev-java/jaxb-api-2.3.3:0
|
|
24 |
# com.sun.activation:jakarta.activation:2.0.1 -> >=dev-java/jakarta-activation-2.0.1:2
|
|
25 |
|
|
26 |
CDEPEND="dev-java/jakarta-activation:2"
|
27 |
27 |
|
28 |
|
CDEPEND="dev-java/jakarta-activation-api:1"
|
29 |
28 |
DEPEND="${CDEPEND}
|
30 |
29 |
>=virtual/jdk-11:*"
|
|
30 |
|
31 |
31 |
RDEPEND="${CDEPEND}
|
32 |
32 |
>=virtual/jre-1.8:*"
|
33 |
33 |
|
34 |
|
DOCS=( ../{LICENSE,NOTICE,README}.md )
|
35 |
|
|
36 |
34 |
S="${WORKDIR}/${P}/${PN}"
|
37 |
35 |
|
38 |
|
JAVA_GENTOO_CLASSPATH="jakarta-activation-api-1"
|
39 |
|
JAVA_GENTOO_CLASSPATH_EXTRA="jaxb-api.jar"
|
|
36 |
JAVA_GENTOO_CLASSPATH="jakarta-activation-2"
|
40 |
37 |
JAVA_SRC_DIR="src/main/java"
|
41 |
38 |
JAVA_RESOURCE_DIRS="src/main/resources"
|
42 |
|
|
43 |
|
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
44 |
|
JAVA_TEST_SRC_DIR="../${PN}-test/src/test/java"
|
45 |
|
JAVA_TEST_RESOURCE_DIRS="../${PN}-test/src/test/resources"
|
46 |
|
|
47 |
|
src_install() {
|
48 |
|
default
|
49 |
|
java-pkg-simple_src_install
|
50 |
|
}
|