1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Basic OS interaction for OCaml"
7 HOMEPAGE="http://erratique.ch/software/bos https://github.com/dbuenzli/bos"
8 SRC_URI="http://erratique.ch/software/bos/releases/${P}.tbz"
14 RESTRICT="!test? ( test )"
28 test? ( dev-ml/mtime )
32 ocaml pkg/pkg.ml build --tests $(usex test true false) || die
36 ocaml pkg/pkg.ml test || die
41 --prefix="${ED}/usr" \
42 --libdir="${D}/$(ocamlc -where)" \
43 --docdir="${ED}/usr/share/doc/${PF}" \