1 # Copyright 2019-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit multiprocessing
8 DESCRIPTION="A composable build system for OCaml"
9 HOMEPAGE="https://github.com/ocaml/dune"
10 SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
17 DEPEND="dev-lang/ocaml"
25 ocaml configure.ml --libdir "${EPREFIX}/usr/$(get_libdir)/ocaml" || die
30 mv "${D}"/usr/doc "${D}"/usr/share/doc/${PF}
31 mv "${D}"/usr/man "${D}"/usr/share/man