diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-01 15:23:33 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-01 15:25:27 +0200 |
commit | ca2e85cf20bffb6c495de3d8f69fae835007bc79 (patch) | |
tree | 8f5ef6646da2910df192723a24750af17f6c653f /dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild | |
parent | dev-ml/ppx_ast: Initial import. Ebuild by me. (diff) | |
download | gentoo-ca2e85cf20bffb6c495de3d8f69fae835007bc79.tar.gz gentoo-ca2e85cf20bffb6c495de3d8f69fae835007bc79.tar.bz2 gentoo-ca2e85cf20bffb6c495de3d8f69fae835007bc79.zip |
dev-ml/ppx_traverse_builtins: Initial import. Ebuild by me.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild')
-rw-r--r-- | dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild b/dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild new file mode 100644 index 000000000000..3e0329bd70e5 --- /dev/null +++ b/dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Builtins for ppx_traverse" +HOMEPAGE="https://github.com/janestreet/ppx_traverse_builtins" +SRC_URI="https://github.com/janestreet/ppx_traverse_builtins/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/ocaml:= +" +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 +} |