summaryrefslogtreecommitdiff
blob: 8be22e3ce7b056424007f557d3dd55bacb6ad0b6 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/crimson/crimson-1.1.3.ebuild,v 1.2 2004/05/03 19:45:23 dholm Exp $

inherit java-pkg

DESCRIPTION="Apache Crimson XML 1.0 parser"
HOMEPAGE="http://xml.apache.org/crimson/"
SRC_URI="http://xml.apache.org/dist/crimson/${P}-src.tar.gz"
LICENSE="Apache-1.1"
SLOT="1"
KEYWORDS="~x86 ~ppc"
IUSE=""
DEPEND=">=virtual/jdk-1.3"
S=${WORKDIR}/${P}

src_compile() {
	ant jars docs || die
}

src_install() {
	dojar build/crimson.jar
	dodoc build/ChangeLog
	dohtml build/README.html
	dohtml -r build/docs
	dohtml -r -A class,java,xml build/examples
}