diff options
author | 2015-02-15 09:27:34 +0000 | |
---|---|---|
committer | 2015-02-15 09:27:34 +0000 | |
commit | e1bbcb82259fd0077706614882f2b67726c64ea6 (patch) | |
tree | 5fdc668f2bb712b3bb054a6adc187a36df45cb81 /dev-ml | |
parent | Version bump. (diff) | |
download | gentoo-2-e1bbcb82259fd0077706614882f2b67726c64ea6.tar.gz gentoo-2-e1bbcb82259fd0077706614882f2b67726c64ea6.tar.bz2 gentoo-2-e1bbcb82259fd0077706614882f2b67726c64ea6.zip |
initial import, ebuild by José Romildo Malaquias, bug #539330
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/yojson/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ml/yojson/metadata.xml | 5 | ||||
-rw-r--r-- | dev-ml/yojson/yojson-1.2.0.ebuild | 38 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-ml/yojson/ChangeLog b/dev-ml/yojson/ChangeLog new file mode 100644 index 000000000000..5695a4f903e7 --- /dev/null +++ b/dev-ml/yojson/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2015/02/15 09:27:34 aballier Exp $ + +*yojson-1.2.0 (15 Feb 2015) + + 15 Feb 2015; Alexis Ballier <aballier@gentoo.org> +yojson-1.2.0.ebuild, + +metadata.xml: + initial import, ebuild by José Romildo Malaquias, bug #539330 + diff --git a/dev-ml/yojson/metadata.xml b/dev-ml/yojson/metadata.xml new file mode 100644 index 000000000000..2193d772e351 --- /dev/null +++ b/dev-ml/yojson/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ml</herd> +</pkgmetadata> diff --git a/dev-ml/yojson/yojson-1.2.0.ebuild b/dev-ml/yojson/yojson-1.2.0.ebuild new file mode 100644 index 000000000000..aba61a2afa65 --- /dev/null +++ b/dev-ml/yojson/yojson-1.2.0.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.0.ebuild,v 1.1 2015/02/15 09:27:34 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 +} |