summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ppx_compare/Manifest1
-rw-r--r--dev-ml/ppx_compare/ppx_compare-113.33.00.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ml/ppx_compare/Manifest b/dev-ml/ppx_compare/Manifest
index 9173c3cdd4f..37faf274676 100644
--- a/dev-ml/ppx_compare/Manifest
+++ b/dev-ml/ppx_compare/Manifest
@@ -1 +1,2 @@
DIST ppx_compare-113.24.00.tar.gz 57732 SHA256 1a7ce91dd28a1fdf0498949a7c2edf5850715fa7a7c4d2c8f80a88443df16ccf SHA512 ede556a29f77d8da4b0cdb5a97d6b298a0a2a8afd2a612f546587808a8a211d9c4aed86e7a33cd5357c130fba9a2d716e6c2cc4381ebe44564aa4a4eedabaecb WHIRLPOOL a45f05f967726620fcc413cdc4a9641c282af442b555c9f244346b6caba469e5f7060970e3985012babf66d78122b7a4034c8859d35b34277f734fc51242f16c
+DIST ppx_compare-113.33.00.tar.gz 57591 SHA256 002955efc2606044b5ec7e5eca24c9113bd6ef230c1340807297659970b5ebd3 SHA512 4058330342a228eba748db4a6e4351c5b9eca11a515eaf7aa379d73b361e0b0fff0079eca20f3657fcfa1da2fc289a85a77cb8d9553a5f6cbbf1d6e21d39be82 WHIRLPOOL f789c9820252b3021ca535062df58ab6c3b88e864d7a8772f35cbe8b1ec47bb876c76e81c5c51731793f3cfcacc0d3e820b85b259fdced9de7600efa60b38845
diff --git a/dev-ml/ppx_compare/ppx_compare-113.33.00.ebuild b/dev-ml/ppx_compare/ppx_compare-113.33.00.ebuild
new file mode 100644
index 00000000000..7b95ef5ae2d
--- /dev/null
+++ b/dev-ml/ppx_compare/ppx_compare-113.33.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="Generation of comparison functions from types"
+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_driver:=
+ dev-ml/ppx_type_conv:=
+ dev-ml/ppx_core:="
+
+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
+}