DIST cofoja-1.1_p150.tar.bz2 152190 SHA256 934a858aba9af1830b557c3ac8ad692658df1500c88a89d183b37bb5eb61ec09 SHA512 095741da4c59d4fd397f0211dd51bf84ba7080eed658d2ec0a2390b599f1bd4a0426488ea858338822c92b757b155881a26d79f596b3df7517e9f39e290b76fa WHIRLPOOL a9ef9b061c2a152143e66041e49bd0f286b0e4598113b1f41fd9dd8c9ddae050e45341a10242fa3011ea06437062e6a50e750490b4ffb75970726d0f67c27ee9
+DIST v1.2.zip 229127 SHA256 57732add36b60b6cc194b80bb878fd7616ed5cf2a3c9f1aab814f687b3564f33 SHA512 d6d73d32adaceaeb4c34600c0761f272d4917d276eb654a3e43ad368bc77eae26e9d5b90cb93f7ae073b6dad81eece129337e3c2d52daf7bb3dbc0577dcc2e7e WHIRLPOOL a3781e7e07e22b56c78ebc54754f9beae85cc0fa4d6e3396e48b716ca457c36cf7f2f51347dd661cf14cfb10880dd9aced248413e4d2b90d1e8822e985d6dbe7
--- /dev/null
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Contracts for Java"
+HOMEPAGE="https://code.google.com/p/cofoja/"
+SRC_URI="https://github.com/nhatminhle/${PN}/archive/v${PV}.zip"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RESTRICT="test"
+
+CDEPEND="dev-java/asm:4"
+DEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+S="${WORKDIR}/${P}"
+
+JAVA_GENTOO_CLASSPATH="asm-4"
+JAVA_SRC_DIR="src/com/google/java/contract"
+
+# Relies on a bunch of classes in jsr308,
+# spec we don't have packaged in Gentoo.. yet.
+JAVA_RM_FILES=(
+ src/com/google/java/contract/core/apt/JavacUtils.java
+)