You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
985 B
36 lines
985 B
# 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
|
|
}
|