diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-02-05 19:22:53 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-02-05 21:59:02 +0100 |
commit | 9bb9237c610e75b32a56856a48374fff6cec1a0b (patch) | |
tree | 89fad9f0be78e54808d135d001977d296211583c /dev-ml/ppx_sexp_message | |
parent | dev-ml/ppx_expect: initial import; ebuild by me (diff) | |
download | gentoo-9bb9237c610e75b32a56856a48374fff6cec1a0b.tar.gz gentoo-9bb9237c610e75b32a56856a48374fff6cec1a0b.tar.bz2 gentoo-9bb9237c610e75b32a56856a48374fff6cec1a0b.zip |
dev-ml/ppx_sexp_message: initial import; ebuild by me
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/ppx_sexp_message')
-rw-r--r-- | dev-ml/ppx_sexp_message/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/ppx_sexp_message/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ml/ppx_sexp_message/ppx_sexp_message-113.24.00.ebuild | 43 |
3 files changed, 52 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ml@gentoo.org</email> + <name>Gentoo ML Project</name> +</maintainer> +</pkgmetadata> 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 +} |