mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-java/xml-commons-resolver: clean up old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="An XML Entity and URI Resolver"
|
||||
HOMEPAGE="http://xml.apache.org/commons/"
|
||||
SRC_URI="mirror://apache/xml/commons/${P}.tar.gz"
|
||||
DEPEND=">=virtual/jdk-1.3"
|
||||
RDEPEND=">=virtual/jre-1.3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc64 x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
JAVA_PKG_BSFIX_NAME="resolver.xml"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
rm -rf apidocs resolver.jar || die
|
||||
}
|
||||
|
||||
EANT_BUILD_XML="resolver.xml"
|
||||
EANT_DOC_TARGET="javadocs"
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/resolver.jar
|
||||
|
||||
dodoc KEYS LICENSE.resolver.txt NOTICE-resolver.txt || die
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc build/apidocs/resolver
|
||||
java-pkg_dohtml docs/*.html
|
||||
fi
|
||||
|
||||
use source && java-pkg_dosrc src/org
|
||||
}
|
||||
Reference in New Issue
Block a user