summaryrefslogtreecommitdiff
path: root/dev-java/json/json-20160212.ebuild
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-10-14 02:10:34 -0500
committerAustin English <wizardedit@gentoo.org>2016-10-14 02:11:09 -0500
commita8750e252df1757c49f924cf9705b6136c1699d8 (patch)
treeea3b718c1a3abe005eaf682c433ba7e80132f384 /dev-java/json/json-20160212.ebuild
parent7aa596fb15d258127a70779ce0850cc1ba411aa3 (diff)
downloadgentoo-a8750e252df1757c49f924cf9705b6136c1699d8.tar.gz
gentoo-a8750e252df1757c49f924cf9705b6136c1699d8.tar.bz2
gentoo-a8750e252df1757c49f924cf9705b6136c1699d8.zip
dev-java/json: version bump - 20160212
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-java/json/json-20160212.ebuild')
-rw-r--r--dev-java/json/json-20160212.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-java/json/json-20160212.ebuild b/dev-java/json/json-20160212.ebuild
new file mode 100644
index 000000000000..f3193e58b38d
--- /dev/null
+++ b/dev-java/json/json-20160212.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Java implementation of the JavaScript Object Notation"
+HOMEPAGE="http://www.json.org/java/"
+SRC_URI="https://github.com/douglascrockford/JSON-java/archive/${PV}.zip"
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.7"
+RDEPEND=">=virtual/jre-1.7"
+
+S="${WORKDIR}/JSON-java-${PV}"
+JAVA_SRC_DIR="src"
+
+java_prepare() {
+ chmod a-x *.java || die
+ mkdir -p src || die
+ mv *.java src || die
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ dodoc README
+}