1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc source test"
8 inherit java-pkg-2 java-ant-2
10 DESCRIPTION="Byte-based encoding support library for Java"
11 HOMEPAGE="https://github.com/codehaus"
12 SRC_URI="https://github.com/jruby/${PN}/archive/${P}.tar.gz"
16 KEYWORDS="amd64 ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
18 RDEPEND=">=virtual/jre-1.5"
19 DEPEND=">=virtual/jdk-1.5
22 >=dev-java/junit-4.8:4
25 S="${WORKDIR}/${PN}-${PN}-${PV}"
28 cp "${FILESDIR}"/maven-build.xml build.xml || die
36 java-pkg_dojar target/${PN}.jar
38 use doc && java-pkg_dojavadoc target/site/apidocs
39 use source && java-pkg_dosrc src/*