summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-05 19:27:40 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-05 21:59:02 +0100
commitd966af521477bc77ce61e57e2ecbc101748798fd (patch)
treef3ae1b9c3aaacc988e537c4c99d9100d6d60af1b /dev-ml/ppx_fail
parentdev-ml/ppx_let: initial import; ebuild by me (diff)
downloadgentoo-d966af521477bc77ce61e57e2ecbc101748798fd.tar.gz
gentoo-d966af521477bc77ce61e57e2ecbc101748798fd.tar.bz2
gentoo-d966af521477bc77ce61e57e2ecbc101748798fd.zip
dev-ml/ppx_fail: 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_fail')
-rw-r--r--dev-ml/ppx_fail/Manifest1
-rw-r--r--dev-ml/ppx_fail/metadata.xml8
-rw-r--r--dev-ml/ppx_fail/ppx_fail-113.24.00.ebuild42
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ml/ppx_fail/Manifest b/dev-ml/ppx_fail/Manifest
new file mode 100644
index 00000000000..ff19cd3aa4f
--- /dev/null
+++ b/dev-ml/ppx_fail/Manifest
@@ -0,0 +1 @@
+DIST ppx_fail-113.24.00.tar.gz 51284 SHA256 50d565d294747f19f26fb7f82fa00cf431d7099f9994b9ee55f14fd76c3b7ecf SHA512 453e043c5b93c7691a3f9cdf7343308b5336ca28c192571db78bbfcbb693ab82650bc66cbb9b409b512733ab2c61054fce769be6be9007eb5e7825917a07068d WHIRLPOOL fb62906c2252da5c03886ae1cc9c54d4891d85dd8ecf2c31191048db823f6b289c872c940b65cced899ee7ee96b486888bc94ba57501a27bb55892717c4264fe
diff --git a/dev-ml/ppx_fail/metadata.xml b/dev-ml/ppx_fail/metadata.xml
new file mode 100644
index 00000000000..ffac4d7ebc0
--- /dev/null
+++ b/dev-ml/ppx_fail/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_fail/ppx_fail-113.24.00.ebuild b/dev-ml/ppx_fail/ppx_fail-113.24.00.ebuild
new file mode 100644
index 00000000000..e835771ca61
--- /dev/null
+++ b/dev-ml/ppx_fail/ppx_fail-113.24.00.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Add location to calls to failwiths"
+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:=
+"
+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 CHANGES.md
+}