blob: 4c953a1a67fb652119d68e0ebb29ae30d996c482 (
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
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/xalan/xalan-2.4.1.ebuild,v 1.2 2002/11/26 04:30:22 strider Exp $
inherit virtualx
DESCRIPTION="XSLT processor"
HOMEPAGE="http://xml.apache.org/xalan-j/index.html"
LICENSE="Apache-1.1"
DEPEND=">=virtual/jdk-1.4
>=dev-java/ant-1.4.1
>=dev-java/xerces-2.2.0
jikes? ( >=dev-java/jikes-1.16 )"
RDEPEND="$DEPEND"
SRC_URI="http://xml.apache.org/dist/xalan-j/${PN}-j_2_4_1-src.tar.gz"
S=${WORKDIR}/${PN}-j_2_4_1
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~x86"
#IUSE="jikes"
IUSE=""
src_compile() {
# local myc
export maketype="ant"
# FIXME: Compiling with Jikes does not work properly yet.
# use jikes && \
# myc="${myc} -Dbuild.compiler=jikes" ||
# myc="${myc} -Dbuild.compiler=classic"
virtualmake jar docs ${myc} || die "build failed"
}
src_install () {
dojar build/xalan.jar
dohtml readme.html
dohtml -r build/docs/*
}
|