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.
40 lines
1.1 KiB
40 lines
1.1 KiB
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
JAVA_PKG_IUSE="doc source"
|
|
MAVEN_ID="xml-apis:xml-apis-ext:1.3.04"
|
|
|
|
inherit java-pkg-2 java-ant-2
|
|
|
|
DESCRIPTION="Externally-defined set of standard interfaces, namely DOM, SAX, and JAXP"
|
|
HOMEPAGE="https://xml.apache.org/commons/"
|
|
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
|
# upstream source tar.gz is missing build.xml and other stuff, so we get it like this
|
|
# svn export http://svn.apache.org/repos/asf/xml/commons/tags/xml-commons-external-1_3_04/java/external/ xml-commons-external-1.3.04
|
|
# tar cjf xml-commons-external-1.3.04.tar.bz2 xml-commons-external-1.3.04
|
|
|
|
LICENSE="Apache-2.0"
|
|
SLOT="1.3"
|
|
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
IUSE="doc source"
|
|
|
|
DEPEND="
|
|
>=virtual/jdk-1.8"
|
|
|
|
RDEPEND="
|
|
>=virtual/jre-1.8"
|
|
|
|
src_install() {
|
|
java-pkg_dojar build/xml-apis.jar build/xml-apis-ext.jar
|
|
|
|
dodoc NOTICE README.*
|
|
|
|
if use doc; then
|
|
java-pkg_dojavadoc build/docs/javadoc
|
|
java-pkg_dohtml -r build/docs/dom
|
|
fi
|
|
use source && java-pkg_dosrc src/javax src/org
|
|
}
|