# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit eutils java-pkg-2 DESCRIPTION="MathML to SVG for GIF converter" SRC_URI="mirror://sourceforge/jeuclid/${P}-SNAPSHOT-source.zip" HOMEPAGE="http://jeuclid.sourceforge.net/" LICENSE="Apache" SLOT="0" KEYWORDS="~amd64 ~ia64 ~x86 ~ppc" DEPEND=">=virtual/jre-1.5 >=dev-java/batik-1.6 dev-java/ant jikes? ( dev-java/jikes )" IUSE="jikes" S=${WORKDIR}/${P}-SNAPSHOT src_unpack() { unpack ${A} cp ${FILESDIR}/build.xml ${S} } src_compile() { local antflags="" use jikes && antflags="${antflags} -Dbuild.compiler=jikes" cd ${S} ant ${antflags} || die "compile failed" } src_install() { java-pkg_newjar target/${PN}.jar ${PN}.jar }