1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 JAVA_PKG_IUSE="doc source test"
9 inherit java-pkg-2 java-ant-2
11 DESCRIPTION="Provide a friendly DSL for binding method handles"
12 HOMEPAGE="https://github.com/headius/invokebinder"
13 SRC_URI="https://github.com/headius/${PN}/archive/${P}.tar.gz"
19 S="${WORKDIR}/${PN}-${P}"
21 DEPEND=">=virtual/jdk-1.7
25 RDEPEND=">=virtual/jre-1.7"
27 JAVA_ANT_REWRITE_CLASSPATH="yes"
28 EANT_TEST_TARGET="test"
31 cp "${FILESDIR}"/${P}-build.xml build.xml || die
39 java-pkg_newjar "target/${P}.jar" "${PN}.jar"
40 use source && java-pkg_dosrc src/main/java/com
42 java-pkg_dojavadoc target/site/apidocs