diff options
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/yojson/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ml/yojson/yojson-1.2.1.ebuild | 38 |
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 +} |