mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-23 15:37:58 +02:00
37 lines
760 B
Bash
37 lines
760 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit dune
|
|
|
|
DESCRIPTION="OCaml documentation generator"
|
|
HOMEPAGE="http://github.com/ocaml/odoc/"
|
|
SRC_URI="https://github.com/ocaml/${PN}/releases/download/${PV}/${P}.tbz"
|
|
|
|
LICENSE="ISC"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE="+ocamlopt test"
|
|
RESTRICT="test"
|
|
|
|
RDEPEND="
|
|
<dev-lang/ocaml-5.3
|
|
dev-ml/astring:=
|
|
dev-ml/camlp-streams:=[ocamlopt?]
|
|
dev-ml/cmdliner:=[ocamlopt?]
|
|
!dev-ml/odoc-parser
|
|
dev-ml/fmt:=[ocamlopt?]
|
|
dev-ml/fpath:=
|
|
dev-ml/ocaml-crunch:=[ocamlopt?]
|
|
dev-ml/result:=[ocamlopt?]
|
|
dev-ml/tyxml:=[ocamlopt?]
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
dev-ml/cppo:=[ocamlopt?]
|
|
"
|
|
BDEPEND=">=dev-ml/dune-3.7"
|
|
|
|
src_compile() {
|
|
dune-compile ${PN} odoc-parser
|
|
}
|