gentoo-ebuilds/dev-ml/odoc/odoc-2.4.3-r1.ebuild
Alfredo Tupone 4c996e8ed4
dev-ml/odoc: add 2.4.4
Closes: https://bugs.gentoo.org/951510
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2025-03-18 08:26:08 +01:00

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
}