# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-java/commons-cli/commons-cli-1.0-r4.ebuild,v 1.4 2004/10/16 17:04:14 axxo Exp $ inherit java-pkg eutils DESCRIPTION="ToolBar was originally designed for the ArgoUML project and has now been broken out to allow reuse by other swing based applications." HOMEPAGE="http://toolbar.apache.org" SRC_URI="http://${PN}.tigris.org/files/documents/869/10303/ToolBar-${PV}-src.zip" DEPEND=">=virtual/jdk-1.3" RDEPEND=">=virtual/jdk-1.3" LICENSE="Apache 2.0" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="jikes" S="${WORKDIR}" src_unpack() { unpack ${A} } src_compile(){ cd ${S} local antflags="compile" use jikes && antflags="${antflags} -Dbuild.compiler=jikes" cp ${FILESDIR}/build.xml . ant ${antflags} || die "compile failed" } src_install() { cd ${S} java-pkg_dojar lib/toolbar.jar }