1 # Copyright 1999-2016 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="Byte-based encoding support library for Java"
12 HOMEPAGE="http://jruby.codehaus.org/"
13 SRC_URI="https://github.com/jruby/${PN}/archive/${P}.tar.gz"
17 KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
19 RDEPEND=">=virtual/jre-1.5"
20 DEPEND=">=virtual/jdk-1.5
23 >=dev-java/junit-4.8:4
26 S="${WORKDIR}/${PN}-${PN}-${PV}"
29 cp "${FILESDIR}"/maven-build.xml build.xml || die
37 java-pkg_dojar target/${PN}.jar
39 use doc && java-pkg_dojavadoc target/site/apidocs
40 use source && java-pkg_dosrc src/*