1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc examples source"
8 inherit java-pkg-2 java-pkg-simple
10 DESCRIPTION="Java-based extensible high-precision math library"
11 HOMEPAGE="http://jump-math.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/${PN}-math/${P}.tar.gz"
23 source? ( app-arch/zip )"
27 JAVA_SRC_DIR="src/main"
30 rm -rv src/tests || die
34 java-pkg-simple_src_install
35 use examples && java-pkg_doexamples src/examples