diff options
-rw-r--r-- | dev-ml/ppx_enumerate/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/ppx_enumerate/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ml/ppx_enumerate/ppx_enumerate-113.24.00.ebuild | 41 |
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 +} |