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 Spell Check API"
11 HOMEPAGE="https://sourceforge.net/projects/jazzy"
12 SRC_URI="mirror://sourceforge/${PN}/${P}.src.zip -> ${P}.zip"
20 RDEPEND=">=virtual/jre-1.6"
22 DEPEND=">=virtual/jdk-1.6
29 rm -rf src/com/swabunga/test || die
33 java-pkg-simple_src_install
35 use doc && dodoc README.txt
36 use examples && java-pkg_doexamples --subdir \
37 com/swabunga/spell/examples \
38 src/com/swabunga/spell/examples