| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/xml-commons-external/xml-commons-external-1.3.04.ebuild,v 1.13 2012/04/15 18:04:32 vapier Exp $
|
| 4 |
|
| 5 |
JAVA_PKG_IUSE="doc source"
|
| 6 |
|
| 7 |
inherit java-pkg-2 java-ant-2
|
| 8 |
|
| 9 |
DESCRIPTION="An Apache-hosted set of externally-defined standards interfaces, namely DOM, SAX, and JAXP."
|
| 10 |
HOMEPAGE="http://xml.apache.org/commons/"
|
| 11 |
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
| 12 |
# upstream source tar.gz is missing build.xml and other stuff, so we get it like this
|
| 13 |
# 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
|
| 14 |
# tar cjf xml-commons-external-1.3.04.tar.bz2 xml-commons-external-1.3.04
|
| 15 |
|
| 16 |
LICENSE="Apache-2.0"
|
| 17 |
SLOT="1.3"
|
| 18 |
KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
| 19 |
IUSE="doc source"
|
| 20 |
|
| 21 |
DEPEND=">=virtual/jdk-1.3"
|
| 22 |
RDEPEND=">=virtual/jre-1.3"
|
| 23 |
|
| 24 |
src_install() {
|
| 25 |
java-pkg_dojar build/xml-apis.jar build/xml-apis-ext.jar
|
| 26 |
|
| 27 |
dodoc NOTICE README.* || die
|
| 28 |
|
| 29 |
if use doc; then
|
| 30 |
java-pkg_dojavadoc build/docs/javadoc
|
| 31 |
java-pkg_dohtml -r build/docs/dom
|
| 32 |
fi
|
| 33 |
use source && java-pkg_dosrc src/javax src/org
|
| 34 |
}
|