summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-06-08 08:25:49 +0000
committerAlexis Ballier <aballier@gentoo.org>2015-06-08 08:25:49 +0000
commitcfa64de68403c9330c19747a4c9a00cb4e78b785 (patch)
tree027e634758c07467a8fc3bcb7f8e109787ae42fc /dev-ml
parentbump (diff)
downloadgentoo-2-cfa64de68403c9330c19747a4c9a00cb4e78b785.tar.gz
gentoo-2-cfa64de68403c9330c19747a4c9a00cb4e78b785.tar.bz2
gentoo-2-cfa64de68403c9330c19747a4c9a00cb4e78b785.zip
version bump
Signed-off-by: Alexis Ballier <aballier@gentoo.org> (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/yojson/ChangeLog7
-rw-r--r--dev-ml/yojson/yojson-1.2.1.ebuild38
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-ml/yojson/ChangeLog b/dev-ml/yojson/ChangeLog
index b17b14165e77..5ec9181d099e 100644
--- a/dev-ml/yojson/ChangeLog
+++ b/dev-ml/yojson/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ml/yojson
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/yojson/ChangeLog,v 1.2 2015/06/07 09:35:14 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/yojson/ChangeLog,v 1.3 2015/06/08 08:25:49 aballier Exp $
+
+*yojson-1.2.1 (08 Jun 2015)
+
+ 08 Jun 2015; Alexis Ballier <aballier@gentoo.org> +yojson-1.2.1.ebuild:
+ version bump
07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Add github to remote-id in metadata.xml
diff --git a/dev-ml/yojson/yojson-1.2.1.ebuild b/dev-ml/yojson/yojson-1.2.1.ebuild
new file mode 100644
index 000000000000..54e36388c299
--- /dev/null
+++ b/dev-ml/yojson/yojson-1.2.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/yojson/yojson-1.2.1.ebuild,v 1.1 2015/06/08 08:25:49 aballier Exp $
+
+EAPI=5
+
+inherit findlib
+
+DESCRIPTION="JSON parsing and pretty-printing library for OCaml"
+HOMEPAGE="http://mjambon.com/yojson.html"
+SRC_URI="https://github.com/mjambon/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0/${PV}"
+LICENSE="BSD"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt]
+ dev-ml/easy-format:=[ocamlopt]
+ dev-ml/biniou:=[ocamlopt]
+"
+DEPEND="${RDEPEND}
+ dev-ml/cppo
+"
+
+src_compile() {
+ emake -j1
+}
+
+src_install() {
+ dodir /usr/bin
+ findlib_src_install BINDIR="${ED}"/usr/bin
+ dodoc README.md Changes
+ if use examples ; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}