dev-ml/dns-lwt-unix: udpate to opam.eclass
authorAlexis Ballier <aballier@gentoo.org>
Fri, 6 Oct 2017 13:21:01 +0000 (15:21 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 6 Oct 2017 13:21:11 +0000 (15:21 +0200)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

dev-ml/dns-lwt-unix/dns-lwt-unix-1.0.0.ebuild

index 6acdd19d0d8531d9b9b1111724fc7b3c659a7525..0de745104dd6c0ab5e09fbf70f66529f89902df2 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit findlib
+inherit findlib opam
 
 MY_P=ocaml-dns-${PV}
 
@@ -26,7 +26,6 @@ RDEPEND="
 "
 DEPEND="
        dev-ml/jbuilder
-       dev-ml/opam
        test? (
                dev-ml/ounit
        )
@@ -44,11 +43,3 @@ src_compile() {
 src_test() {
        jbuilder runtest -p ${PN} || die
 }
-
-src_install() {
-       opam-installer -i \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               ${PN}.install || die
-}