summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-05 16:30:46 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-05 21:59:02 +0100
commitefaf6a41d82e3affb5347f8cc014f8d81981049d (patch)
tree758fd6fbb0c1c35933cbcdf919ff839042888f57 /dev-ml/ppx_here
parentdev-ml/ppx_sexp_conv: fix dependancies (diff)
downloadgentoo-efaf6a41d82e3affb5347f8cc014f8d81981049d.tar.gz
gentoo-efaf6a41d82e3affb5347f8cc014f8d81981049d.tar.bz2
gentoo-efaf6a41d82e3affb5347f8cc014f8d81981049d.zip
dev-ml/ppx_here: initial import; ebuild by me
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/ppx_here')
-rw-r--r--dev-ml/ppx_here/Manifest1
-rw-r--r--dev-ml/ppx_here/metadata.xml8
-rw-r--r--dev-ml/ppx_here/ppx_here-113.24.00.ebuild33
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-ml/ppx_here/Manifest b/dev-ml/ppx_here/Manifest
new file mode 100644
index 000000000000..519408fb4883
--- /dev/null
+++ b/dev-ml/ppx_here/Manifest
@@ -0,0 +1 @@
+DIST ppx_here-113.24.00.tar.gz 53178 SHA256 4b65a8d0c6f38635a359fdfd7b4478135d8998c072892acb958e4777b8ba8a70 SHA512 50e1f77b9539d0ee16b0afdf1c5249c3038068f58f19c80116f1c2eba9499deb7130b619d545e7fd015a7a07b76ca507538a3131efee15cc256aae61df64338c WHIRLPOOL 6c60e72081bf0cc3eda0a6e86c0b3fca1046f47904074dfcfb3c786fe768d6eca1cd50b90e3bc2b777d09deb9b4a690edd2a6ef46432b8c1a517c2c08c044fb0
diff --git a/dev-ml/ppx_here/metadata.xml b/dev-ml/ppx_here/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/ppx_here/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_here/ppx_here-113.24.00.ebuild b/dev-ml/ppx_here/ppx_here-113.24.00.ebuild
new file mode 100644
index 000000000000..74f426c21d29
--- /dev/null
+++ b/dev-ml/ppx_here/ppx_here-113.24.00.ebuild
@@ -0,0 +1,33 @@
+# 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
+}