Package-Manager: Portage-2.3.11, Repoman-2.3.3
EAPI=5
-inherit findlib eutils
+inherit findlib opam
DESCRIPTION="A pure OCaml implementation of the DNS protocol"
HOMEPAGE="https://github.com/mirage/ocaml-dns https://mirage.io"
IUSE=""
RDEPEND="
- >=dev-lang/ocaml-4:=
>=dev-ml/ocaml-base64-2.0.0:=
>=dev-ml/ocaml-cstruct-3.0.2:=[ppx]
dev-ml/ocaml-hashcons:=
"
DEPEND="
dev-ml/jbuilder
- dev-ml/opam
${RDEPEND}
"
src_test() {
jbuilder runtest -p dns || die
}
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- dns.install || die
-}