dev-ml/dns-async: update to opam.eclass
authorAlexis Ballier <aballier@gentoo.org>
Fri, 6 Oct 2017 13:20:28 +0000 (15:20 +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-async/dns-async-1.0.0.ebuild

index 4c2c6bfbfd73506be15a2d1afb94bdefe233456f..f7df7c7eccf3030895299addec59f030aad6a347 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit findlib
+inherit findlib opam
 
 MY_P=ocaml-dns-${PV}
 
@@ -23,7 +23,6 @@ RDEPEND="
 "
 DEPEND="
        dev-ml/jbuilder
-       dev-ml/opam
        test? (
                dev-ml/dns-lwt-unix
        )
@@ -41,11 +40,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
-}