summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-15 20:15:04 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-15 20:15:04 +0000
commit104b1665f371d7c00a3ff2dbb4511afca94d3784 (patch)
treedca6c4635f73393f82e96597fc23219811a071d8 /dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild
parentkeyword (diff)
downloadgentoo-2-104b1665f371d7c00a3ff2dbb4511afca94d3784.tar.gz
gentoo-2-104b1665f371d7c00a3ff2dbb4511afca94d3784.tar.bz2
gentoo-2-104b1665f371d7c00a3ff2dbb4511afca94d3784.zip
dep fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild')
-rw-r--r--dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild b/dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild
index 066cf3c843ba..12dfca53074d 100644
--- a/dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild
+++ b/dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.2 2004/11/03 11:36:06 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/openjgraph/openjgraph-0.9.2-r1.ebuild,v 1.3 2005/07/15 20:15:04 axxo Exp $
inherit java-pkg eutils
@@ -8,24 +8,25 @@ 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/log4j
dev-java/junit
- =dev-java/xerces-1.3*
>=dev-java/ant-1.6"
-RDEPEND=">=virtual/jdk-1.4"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~sparc ~ppc"
+KEYWORDS="~ppc ~sparc x86"
S=${WORKDIR}/${P//./_}
src_unpack() {
unpack ${A}
cd ${S}/lib/
- rm -f ant.jar jakarta-ant-1.4.1-optional.jar junit.jar log4j-core.jar jaxp.jar crimson.jar
+ rm -f *.jar
java-pkg_jar-from log4j
java-pkg_jar-from xerces-1.3
java-pkg_jar-from junit
@@ -35,7 +36,7 @@ src_compile() {
./compileall.sh || die "compile failed"
}
-src_install () {
+src_install() {
java-pkg_dojar dist/${PN}.jar
insinto /usr/share/${PN}/examples