From 199037a9dc0d6e6a54f5ac30f6249255a2c142bd Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sat, 1 Apr 2017 15:21:33 +0200 Subject: dev-ml/ppx_ast: Initial import. Ebuild by me. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild (limited to 'dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild') diff --git a/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild b/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild new file mode 100644 index 000000000000..a37732478520 --- /dev/null +++ b/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="AST used in Jane Street ppx rewriters" +HOMEPAGE="https://github.com/janestreet/ppx_ast" +SRC_URI="https://github.com/janestreet/ppx_ast/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/ocaml:= + dev-ml/ocaml-compiler-libs:= + dev-ml/ocaml-migrate-parsetree:= +" +RDEPEND="${DEPEND}" +DEPEND="${RDEPEND} + dev-ml/opam + dev-ml/jbuilder" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${PN}.install || die +} -- cgit v1.2.3-65-gdbad