blob: 8c4034196d6240f65c953644c3917cc9f20c857f (
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
40
41
42
43
44
45
46
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild,v 1.4 2005/10/18 15:12:42 axxo Exp $
inherit java-pkg eutils
DESCRIPTION="Open-source graph library for Java"
SRC_URI="mirror://sourceforge/openjgraph/${P}.zip"
HOMEPAGE="http://openjgraph.sf.net"
IUSE=""
RDEPEND=">=virtual/jre-1.4
dev-java/log4j
=dev-java/xerces-1.3*"
DEPEND=">=virtual/jdk-1.4
${RDEPEND}
app-arch/unzip
dev-java/junit"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~sparc x86"
S=${WORKDIR}/${P//./_}
src_unpack() {
unpack ${A}
cd ${S}/lib/
rm -f *.jar
java-pkg_jar-from log4j
java-pkg_jar-from xerces-1.3
java-pkg_jar-from junit
}
src_compile() {
./compileall.sh || die "compile failed"
}
src_install() {
java-pkg_dojar dist/${PN}.jar
insinto /usr/share/${PN}/examples
doins examples/*
dodoc README
dohtml *.html
}
|