diff options
Diffstat (limited to 'dev-ml/odoc/odoc-2.4.2.ebuild')
-rw-r--r-- | dev-ml/odoc/odoc-2.4.2.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-ml/odoc/odoc-2.4.2.ebuild b/dev-ml/odoc/odoc-2.4.2.ebuild new file mode 100644 index 000000000000..084faf30fa68 --- /dev/null +++ b/dev-ml/odoc/odoc-2.4.2.ebuild @@ -0,0 +1,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} +} |