1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 JAVA_PKG_IUSE="doc source"
8 inherit java-pkg-2 java-pkg-simple
10 DESCRIPTION="Library for testing Java code using mock objects"
11 SRC_URI="http://www.jmock.org/downloads/${P}-jars.zip"
12 HOMEPAGE="http://www.jmock.org"
19 CDEPEND="dev-java/hamcrest-core:1.3
20 dev-java/hamcrest-library:1.3
23 RDEPEND=">=virtual/jre-1.6
26 DEPEND=">=virtual/jdk-1.6
30 JAVA_GENTOO_CLASSPATH="hamcrest-core-1.3,hamcrest-library-1.3,junit-4"
37 unzip ${P}.jar -d src || die
42 find -name "*.class" -delete || die