Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
--- /dev/null
+DIST ppx_here-113.24.00.tar.gz 53178 SHA256 4b65a8d0c6f38635a359fdfd7b4478135d8998c072892acb958e4777b8ba8a70 SHA512 50e1f77b9539d0ee16b0afdf1c5249c3038068f58f19c80116f1c2eba9499deb7130b619d545e7fd015a7a07b76ca507538a3131efee15cc256aae61df64338c WHIRLPOOL 6c60e72081bf0cc3eda0a6e86c0b3fca1046f47904074dfcfb3c786fe768d6eca1cd50b90e3bc2b777d09deb9b4a690edd2a6ef46432b8c1a517c2c08c044fb0
--- /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
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Expands [%here] into its location"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_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_core:="
+
+RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND} dev-ml/oasis"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( CHANGES.md )
+
+src_prepare() {
+ sed -i -e "s/Executable ppx/Executable ${PN}/" _oasis || die
+ oasis setup || die
+}