1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 JAVA_PKG_IUSE="doc source"
7 inherit java-pkg-2 java-pkg-simple
9 DESCRIPTION="Java implementation of the JavaScript Object Notation"
10 HOMEPAGE="https://github.com/douglascrockford/JSON-java"
11 SRC_URI="https://github.com/douglascrockford/JSON-java/archive/${PV}.zip -> ${P}.zip"
18 DEPEND=">=virtual/jdk-1.7"
19 RDEPEND=">=virtual/jre-1.7"
21 S="${WORKDIR}/JSON-java-${PV}"
25 chmod a-x *.java || die
31 java-pkg-simple_src_install