# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # svn export -r "{2009-05-09}" https://gluegen.dev.java.net/svn/gluegen/trunk # gluegen --username xxx --password xxx WANT_ANT_TASKS="ant-antlr" EAPI="2" JAVA_PKG_IUSE="" inherit java-pkg-2 java-ant-2 DESCRIPTION="GlueGen is a tool which automatically generates the Java and JNI code necessary to call C libraries" HOMEPAGE="https://gluegen.dev.java.net" SRC_URI="http://dev.gentoo.org/~ali_bush/distfiles/${P}.tar.bz2" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" RDEPEND=">=virtual/jre-1.4 dev-java/antlr:0" DEPEND=">=virtual/jdk-1.4 dev-java/ant-core:0 dev-java/antlr:0 dev-java/cpptasks:0" IUSE="" java_prepare() { rm make/lib/{cdc_fp,cpptasks}.jar java-pkg_jar-from --build-only --into make/lib cpptasks sed -i -e 's/suncc/sunc89/g' make/${PN}-cpptasks.xml || die java-ant_rewrite-classpath "make/build.xml" sed -i -e 's/\(