# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/jasperreports/jasperreports-0.6.1-r2.ebuild,v 1.3 2005/01/20 16:02:31 mr_bones_ Exp $ inherit java-pkg DESCRIPTION="Eclipse SWT GUI Building" HOMEPAGE="http://www.eclipse.org/" SRC_URI="http://scott.progbits.com/${P}.tar.bz2" LICENSE="CPL-1.0" SLOT="0" KEYWORDS="~x86" IUSE="jikes doc" DEPEND=">=virtual/jdk-1.4 >=app-arch/unzip-5.50 >=dev-java/ant-core-1.4 jikes? ( >=dev-java/jikes-1.21 )" RDEPEND=">=virtual/jre-1.4" src_unpack() { unpack ${A} } src_compile() { local antflags="jface.jar" use jikes && antflags="${antflags} -Dbuild.compiler=jikes" ant ${antflags} || die "Compilation failed" } src_install() { java-pkg_dojar *.jar || die "Missing jars" }