dev-ml/fmt: update to opam.eclass

Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
Alexis Ballier
2017-09-22 10:13:13 +02:00
parent 875a063dd6
commit c5aca924d7

View File

@@ -3,7 +3,7 @@
EAPI="5"
inherit findlib
inherit findlib opam
DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions"
HOMEPAGE="http://erratique.ch/software/fmt https://github.com/dbuenzli/fmt"
@@ -19,7 +19,6 @@ RDEPEND="dev-ml/result:=[ocamlopt]
dev-ml/uchar:=[ocamlopt]
dev-ml/cmdliner:=[ocamlopt]"
DEPEND="${RDEPEND}
dev-ml/opam
>=dev-ml/topkg-0.9
dev-ml/ocamlbuild
dev-ml/findlib"
@@ -31,12 +30,3 @@ src_compile() {
src_test() {
ocaml pkg/pkg.ml test || die
}
src_install() {
opam-installer -i \
--prefix="${ED}/usr" \
--libdir="${D}/$(ocamlc -where)" \
--docdir="${ED}/usr/share/doc/${PF}" \
${PN}.install || die
dodoc CHANGES.md README.md
}