summaryrefslogtreecommitdiff
blob: 8a6c69a8706ab0850836df301c86a522338af9ed (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
29
30
31
32
33
34
35
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

JAVA_PKG_IUSE="doc source"
MAVEN_ID="xpp3:xpp3:1.1.4c"

inherit java-pkg-2 java-pkg-simple

DESCRIPTION="An implementation of XMLPULL V1 API"
HOMEPAGE="https://www.extreme.indiana.edu/xgws/xsoap/xpp/mxp1/index.html"
SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${P}.jar"

LICENSE="Apache-1.1 IBM JDOM LGPL-2.1+"
SLOT="0"

KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"

# Restriction to java 1.8
# Otherwise jdk 11+ would fail to build javadoc:
# ./javax/xml/namespace/QName.java:55: error: package exists in another module: java.xml
# package javax.xml.namespace;
# ^
# 1 error
RDEPEND=">=virtual/jre-1.8:*"
DEPEND="virtual/jdk:1.8"

JAVA_RESOURCE_DIRS="resources"

src_prepare() {
	default
	mkdir "resources" || die
	cp -r "META-INF" "resources" || die
}