Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
--- /dev/null
+DIST ppx_typerep_conv-113.24.00.tar.gz 56449 SHA256 d106b1b400c73d484c1f1f28009c8952cc6abcb71de483ab170b04a31efb009c SHA512 c84f4f61a47965f6df491cde2f3d13d48e3b0d2badfc7a90a299370dfafea5c7b79ea02418800fc3871958d8f5b78aac96a1c86e56b6dafc8e9edc08ff10146e WHIRLPOOL 6bd77599ab66a9daf7506218c43bf5866e0e3c0892f3c8c1fca14396b110e6050b4e9a4105f34940e28119852be4e88581a1f8b650a8b1a04e2b8b2207f84da1
--- /dev/null
+<?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>
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+DESCRIPTION="Generation of runtime types from type declarations"
+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_core:=
+ dev-ml/ppx_tools:=
+ dev-ml/ppx_type_conv:=
+ dev-ml/typerep:=
+ "
+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
+}