1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Binary protocol generator"
7 HOMEPAGE="https://github.com/janestreet/bin_prot"
8 SRC_URI="https://github.com/janestreet/bin_prot/archive/v${PV}.tar.gz -> ${P}.tar.gz"
19 dev-ml/ppx_custom_printf:=
22 dev-ml/ppx_fields_conv:=
23 dev-ml/ppx_sexp_conv:=
24 dev-ml/ppx_type_conv:=
25 dev-ml/ppx_variants_conv:=
27 dev-ml/ocaml-migrate-parsetree:=
29 DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder"
31 S="${WORKDIR}/bin_prot-${PV}"
34 jbuilder runtest || die
39 --prefix="${ED}/usr" \
40 --libdir="${D}/$(ocamlc -where)" \
41 --docdir="${ED}/usr/share/doc/${PF}" \
42 ${PN/-/_}.install || die
43 dodoc CHANGES.md README.md