commit:     8b82232d4e69967edafc477631a99abc33cb345b
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 08:27:38 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 08:31:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b82232d

dev-ml/ocaml-base64: update to opam.eclass

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild 
b/dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild
index 722eba386ee..35d4f2abf2b 100644
--- a/dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild
+++ b/dev-ml/ocaml-base64/ocaml-base64-2.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="6"
 
-inherit findlib
+inherit findlib opam
 
 DESCRIPTION="Library for radix-64 representation (de)coding"
 HOMEPAGE="https://github.com/mirage/ocaml-base64";
@@ -14,17 +14,12 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE="test"
 
-RDEPEND=">=dev-lang/ocaml-4.02:="
+RDEPEND=""
 DEPEND="${RDEPEND}
        dev-ml/jbuilder
-       dev-ml/opam
        test? ( dev-ml/rresult dev-ml/bos dev-ml/alcotest )
 "
 
 src_install() {
-       opam-installer -i \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               base64.install || die
+       opam_src_install base64
 }

Reply via email to