dev-ml/fmt: update to opam.eclass
authorAlexis Ballier <aballier@gentoo.org>
Fri, 22 Sep 2017 08:13:13 +0000 (10:13 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 22 Sep 2017 08:31:38 +0000 (10:31 +0200)
Package-Manager: Portage-2.3.10, Repoman-2.3.3

dev-ml/fmt/fmt-0.8.4.ebuild

index 8e0f58572e56659cee6d4def1568ea5f7dea6f76..19b27b4284d0c514affd317736ae3573cc318f6e 100644 (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
-}