summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-05 19:28:59 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-05 21:59:02 +0100
commit68abf38a0e0c1e3c380b49509ff4a1ea9d660d2c (patch)
tree026888f45bafbc0841084790bab9f8f233ae5e71 /dev-ml/ppx_enumerate
parentdev-ml/ppx_fail: initial import; ebuild by me (diff)
downloadgentoo-68abf38a0e0c1e3c380b49509ff4a1ea9d660d2c.tar.gz
gentoo-68abf38a0e0c1e3c380b49509ff4a1ea9d660d2c.tar.bz2
gentoo-68abf38a0e0c1e3c380b49509ff4a1ea9d660d2c.zip
dev-ml/ppx_enumerate: intiial import; ebuild by me
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/ppx_enumerate')
-rw-r--r--dev-ml/ppx_enumerate/Manifest1
-rw-r--r--dev-ml/ppx_enumerate/metadata.xml8
-rw-r--r--dev-ml/ppx_enumerate/ppx_enumerate-113.24.00.ebuild41
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ml/ppx_enumerate/Manifest b/dev-ml/ppx_enumerate/Manifest
new file mode 100644
index 000000000000..c21171c9c56d
--- /dev/null
+++ b/dev-ml/ppx_enumerate/Manifest
@@ -0,0 +1 @@
+DIST ppx_enumerate-113.24.00.tar.gz 56326 SHA256 cdfb71ec06935a325551896ed49e4b87d39eca63a182089fa757504f2159b505 SHA512 66d484510e59a910c80c556b458c953f636b1439597237a178629c6d3928a8697eb343b59bc78872ce1416b0f9ce701d758f507a3ac24df01cf232bc8aa64db3 WHIRLPOOL 99cfbe08f6df46068bf0c05bda45850777e1dff917be65b1ce4904e76390cd54501687f68f5d5f5c6eab7b65ccfa92fe6271a4cb759c9081979f17f961635edb
diff --git a/dev-ml/ppx_enumerate/metadata.xml b/dev-ml/ppx_enumerate/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/ppx_enumerate/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_enumerate/ppx_enumerate-113.24.00.ebuild b/dev-ml/ppx_enumerate/ppx_enumerate-113.24.00.ebuild
new file mode 100644
index 000000000000..1f0f3773c892
--- /dev/null
+++ b/dev-ml/ppx_enumerate/ppx_enumerate-113.24.00.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Generate a list containing all values of a finite type"
+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_type_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 CHANGES.md
+}