summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-11-28 21:26:10 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-11-28 21:27:33 +0100
commit6eabcc4855612fae35b56578a81f88c2b355a86a (patch)
treeaadc4a863b2af13c52c7d5e9ffe61259f084e08b
parentdev-ml/uutf: bump to 1.0.0 (diff)
downloadgentoo-6eabcc4855612fae35b56578a81f88c2b355a86a.tar.gz
gentoo-6eabcc4855612fae35b56578a81f88c2b355a86a.tar.bz2
gentoo-6eabcc4855612fae35b56578a81f88c2b355a86a.zip
dev-ml/jsonm: bump to 1.0.0
Package-Manager: portage-2.3.2
-rw-r--r--dev-ml/jsonm/Manifest1
-rw-r--r--dev-ml/jsonm/jsonm-1.0.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-ml/jsonm/Manifest b/dev-ml/jsonm/Manifest
index e860dc797cdc..5c9953486b0f 100644
--- a/dev-ml/jsonm/Manifest
+++ b/dev-ml/jsonm/Manifest
@@ -1 +1,2 @@
DIST jsonm-0.9.1.tbz 64843 SHA256 3fd4dca045d82332da847e65e981d8b504883571d299a3f7e71447d46bc65f73 SHA512 43689c8fa75810a4ca1f99a0273ac5c0f6386b88f42a49715bcb785ac5ca54901c43a62b0983f7fb74a7c2615b0fb3464f4c864832d590192ff828b5dcb9781f WHIRLPOOL 2efe453596d3234da178b16191db3068dd06b8a66e7b23a0dd8efb0904368e32b357fe177f62891ce73efee96ede08e4b8e84125409b6ed01880dc49d92f122c
+DIST jsonm-1.0.0.tbz 21549 SHA256 c258ea713d25445341774cf085fa0cf7d2a570c34d5a8d84a49716939ab174ec SHA512 3b0a332a0f3ddcf21ed9ca33fe3bec97f69e4fa3b6f85728965efc0f8f8c6b3187d0d71138c97a568783d6fb9f2aaf6edcd83061350cad13a9378e3c92c80b6e WHIRLPOOL 2b7cf9afa6cd71a5b180909b245ba6408f4a163a048271cf91da47f7bfb25de3a657351c5414562f5e0e6872c9dd77de74f13b9b2b0b5e536693b756934a24f6
diff --git a/dev-ml/jsonm/jsonm-1.0.0.ebuild b/dev-ml/jsonm/jsonm-1.0.0.ebuild
new file mode 100644
index 000000000000..71e10a865591
--- /dev/null
+++ b/dev-ml/jsonm/jsonm-1.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+DESCRIPTION="Non-blocking streaming JSON codec for OCaml"
+HOMEPAGE="http://erratique.ch/software/jsonm"
+SRC_URI="http://erratique.ch/software/jsonm/releases/${P}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-ml/uutf:=
+ dev-lang/ocaml:=
+ dev-ml/uchar:="
+DEPEND="${RDEPEND}
+ dev-ml/topkg
+ dev-ml/opam
+ dev-ml/ocamlbuild
+ dev-ml/findlib"
+
+DOCS=( CHANGES README )
+
+src_compile() {
+ ocaml pkg/pkg.ml build || die
+}
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+ dodoc CHANGES.md TODO.md README.md
+}