From 9bb9237c610e75b32a56856a48374fff6cec1a0b Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 5 Feb 2016 19:22:53 +0100 Subject: dev-ml/ppx_sexp_message: initial import; ebuild by me Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier --- dev-ml/ppx_sexp_message/Manifest | 1 + dev-ml/ppx_sexp_message/metadata.xml | 8 ++++ .../ppx_sexp_message-113.24.00.ebuild | 43 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 dev-ml/ppx_sexp_message/Manifest create mode 100644 dev-ml/ppx_sexp_message/metadata.xml create mode 100644 dev-ml/ppx_sexp_message/ppx_sexp_message-113.24.00.ebuild (limited to 'dev-ml/ppx_sexp_message') diff --git a/dev-ml/ppx_sexp_message/Manifest b/dev-ml/ppx_sexp_message/Manifest new file mode 100644 index 000000000000..54516f673710 --- /dev/null +++ b/dev-ml/ppx_sexp_message/Manifest @@ -0,0 +1 @@ +DIST ppx_sexp_message-113.24.00.tar.gz 54126 SHA256 477ab986bcc5364b201ee49a51641038d0517cea6c29cedc9ba3dc6c753f2010 SHA512 9e216a66fe649c158748a5add0e261f6553572785503ebf1e3ca92688aa24a944f40268d6408ea16fe0ec5672f73d1208ab8ac70a6b0d5a29f92ef6e87256588 WHIRLPOOL 13a5dbaa70056c442fad65d6e40dd8363125458cacfb17deae6a454942c04464c6de5f7fa1d284143cf93be7be6b3642dbdce33fbf95cf054f9c941731fd69e1 diff --git a/dev-ml/ppx_sexp_message/metadata.xml b/dev-ml/ppx_sexp_message/metadata.xml new file mode 100644 index 000000000000..ffac4d7ebc01 --- /dev/null +++ b/dev-ml/ppx_sexp_message/metadata.xml @@ -0,0 +1,8 @@ + + + + + ml@gentoo.org + Gentoo ML Project + + diff --git a/dev-ml/ppx_sexp_message/ppx_sexp_message-113.24.00.ebuild b/dev-ml/ppx_sexp_message/ppx_sexp_message-113.24.00.ebuild new file mode 100644 index 000000000000..1c74f60de3ba --- /dev/null +++ b/dev-ml/ppx_sexp_message/ppx_sexp_message-113.24.00.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit oasis + +DESCRIPTION="A ppx rewriter for easy construction of s-expressions" +HOMEPAGE="http://www.janestreet.com/ocaml" +SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-ml/ppx_tools:= + dev-ml/ppx_core:= + dev-ml/ppx_driver:= + dev-ml/ppx_here:= + dev-ml/ppx_sexp_conv:= +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} dev-ml/opam" + +src_configure() { + emake setup.exe + OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure +} + +src_compile() { + emake +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die + dodoc README.md +} -- cgit v1.2.3-65-gdbad