# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 if [[ ${PV} == *9999 ]]; then inherit mercurial EHG_REPO_URI="https://code.google.com/p/${PN}" SRC_URI="" S="${WORKDIR}/${PN}" else SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2" fi inherit java-pkg-2 DESCRIPTION="Java bindings for LLVM libraries" HOMEPAGE="http://code.google.com/p/jllvm/" LICENSE="LGPL3" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND=">=virtual/jdk-1.4 dev-java/ant-core" RDEPEND=">=virtual/jre-1.4" src_compile() { ant build } src_install() { java-pkg_dojar "${PN}.jar" java-pkg_doso "lib${PN}.so" }