summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-05 19:35:18 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-05 21:59:02 +0100
commit4851d06031cede9063a518f8e9cc3c5ba09660cf (patch)
treec8822483d44fb320201ee494e405d065528d9f90 /dev-ml/ppx_jane
parentdev-ml/ppx_typerep_conv: initial import; ebuild by me (diff)
downloadgentoo-4851d06031cede9063a518f8e9cc3c5ba09660cf.tar.gz
gentoo-4851d06031cede9063a518f8e9cc3c5ba09660cf.tar.bz2
gentoo-4851d06031cede9063a518f8e9cc3c5ba09660cf.zip
dev-ml/ppx_jane: 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_jane')
-rw-r--r--dev-ml/ppx_jane/Manifest1
-rw-r--r--dev-ml/ppx_jane/metadata.xml8
-rw-r--r--dev-ml/ppx_jane/ppx_jane-113.24.00.ebuild59
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-ml/ppx_jane/Manifest b/dev-ml/ppx_jane/Manifest
new file mode 100644
index 000000000000..3b546f13905c
--- /dev/null
+++ b/dev-ml/ppx_jane/Manifest
@@ -0,0 +1 @@
+DIST ppx_jane-113.24.00.tar.gz 51938 SHA256 4a49fb16db18c577d720dc1878e4566c8530c3bc5601335d1c0657a38cb639ed SHA512 048d5971f2d92f435d33b8202356efb20c4453234753071e9a8f513c7ef9310e38d1cad1f7d85a4fbfd9833298c819793401b590e77912956ad83d57a11cd602 WHIRLPOOL a155d5b38b6ce5cb82d96aad2c1d8d84904a9a1734f1314b59f8560e274f6501885c5ac3b4f92d97defe67a45770f5f6263c960ca4a7307907676623cd854e3a
diff --git a/dev-ml/ppx_jane/metadata.xml b/dev-ml/ppx_jane/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/ppx_jane/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_jane/ppx_jane-113.24.00.ebuild b/dev-ml/ppx_jane/ppx_jane-113.24.00.ebuild
new file mode 100644
index 000000000000..a709b96e19ee
--- /dev/null
+++ b/dev-ml/ppx_jane/ppx_jane-113.24.00.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Standard Jane Street ppx rewriters"
+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_assert:=
+ dev-ml/ppx_bench:=
+ dev-ml/ppx_bin_prot:=
+ dev-ml/ppx_compare:=
+ dev-ml/ppx_custom_printf:=
+ dev-ml/ppx_driver:=
+ dev-ml/ppx_enumerate:=
+ dev-ml/ppx_expect:=
+ dev-ml/ppx_fail:=
+ dev-ml/ppx_fields_conv:=
+ dev-ml/ppx_here:=
+ dev-ml/ppx_inline_test:=
+ dev-ml/ppx_let:=
+ dev-ml/ppx_pipebang:=
+ dev-ml/ppx_sexp_conv:=
+ dev-ml/ppx_sexp_message:=
+ dev-ml/ppx_sexp_value:=
+ dev-ml/ppx_type_conv:=
+ dev-ml/ppx_typerep_conv:=
+ dev-ml/ppx_variants_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
+}