blob: dbcec0668a8a42bae38d3a845a1e9497738259c4 (
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
|
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-java/dom4j/dom4j-1.3.ebuild,v 1.3 2002/11/18 06:49:54 blizzy Exp $
S=${WORKDIR}/dom4j-${PV}
DESCRIPTION="dom4j is an easy to use, open source library for working with XML, XPath and XSLT on the Java platform using the Java Collections Framework and with full support for DOM, SAX and JAXP."
SRC_URI="mirror://sourceforge/dom4j/${P}.tar.gz"
HOMEPAGE="http://dom4j.sourceforge.net"
DEPEND=">=virtual/jdk-1.3"
REDEPND=">=virtual/jdk-1.3"
LICENSE="Apache-1.1"
SLOT="0"
KEYWORDS="~X86"
IUSE=""
src_compile() {
cd ${WORKDIR}/dom4j-patched-${PV}
sh build.sh || die "Compilation Failed"
}
src_install () {
cd ${WORKDIR}/dom4j-patched-${PV}
# If you need another jar change the name
# of the file in dojar to the one you need
mv build/dom4j.jar build/dom4j-${PV}.jar
dojar build/dom4j-${PV}.jar
dohtml -r build/doc/*
}
|