summaryrefslogtreecommitdiff
path: root/dev-php/json-schema/json-schema-2.0.0.ebuild
diff options
context:
space:
mode:
authorGuillaume Seren <guillaumeseren@gmail.com>2016-11-24 08:24:03 +0100
committerMichael Orlitzky <mjo@gentoo.org>2016-12-18 18:17:00 -0500
commit79a2aeb43a03a8a2529bed6a20d99fbcd3d1bbf8 (patch)
tree76a2b119405c9c2ac7b787c01d84c0027d58c94c /dev-php/json-schema/json-schema-2.0.0.ebuild
parentd3bd35121b5e9a32e57366819e58a3d01f1ccb57 (diff)
downloadgentoo-79a2aeb43a03a8a2529bed6a20d99fbcd3d1bbf8.tar.gz
gentoo-79a2aeb43a03a8a2529bed6a20d99fbcd3d1bbf8.tar.bz2
gentoo-79a2aeb43a03a8a2529bed6a20d99fbcd3d1bbf8.zip
dev-php/json-schema: Add 2.0.0 version
This is needed for composer-1.2.2, bug 439206. Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-php/json-schema/json-schema-2.0.0.ebuild')
-rw-r--r--dev-php/json-schema/json-schema-2.0.0.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-php/json-schema/json-schema-2.0.0.ebuild b/dev-php/json-schema/json-schema-2.0.0.ebuild
new file mode 100644
index 000000000000..05f698221515
--- /dev/null
+++ b/dev-php/json-schema/json-schema-2.0.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="PHP implementation of JSON schema"
+HOMEPAGE="https://github.com/justinrainbow/json-schema"
+SRC_URI="https://github.com/justinrainbow/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-lang/php:*
+ dev-php/fedora-autoloader"
+
+src_install() {
+ insinto "/usr/share/php/JsonSchema"
+ doins -r src/JsonSchema/. "${FILESDIR}"/autoload.php
+ dodoc README.md
+}