1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="Error-recovering streaming HTML5 and XML parsers"
9 HOMEPAGE="https://github.com/aantron/markup.ml"
10 SRC_URI="https://github.com/aantron/markup.ml/archive/${PV}.tar.gz -> ${P}.tar.gz"
16 RESTRICT="!test? ( test )"
19 dev-lang/ocaml:=[ocamlopt]
20 dev-ml/lwt:=[ocamlopt(+)]
21 >=dev-ml/uutf-1.0:=[ocamlopt]
25 test? ( dev-ml/ounit )
27 S="${WORKDIR}/${PN}.ml-${PV}"
36 emake ocamlfind-install
38 use doc && dohtml doc/html/*