blob: 084faf30fa68bec654124d09e1ac571691b5958b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2024 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-ml/astring:=
dev-ml/cmdliner:=[ocamlopt?]
~dev-ml/odoc-parser-${PV}:=[ocamlopt?]
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}
}
|