commit:     6e96b59e2e0e869248075e01768861b52ff3e666
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 11:22:17 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Aug  2 11:22:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e96b59e

dev-ml/stdio: convert to opam.eclass

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-ml/stdio/stdio-0.9.0.ebuild | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

diff --git a/dev-ml/stdio/stdio-0.9.0.ebuild b/dev-ml/stdio/stdio-0.9.0.ebuild
index 2fae200cc4f..370b1ec250f 100644
--- a/dev-ml/stdio/stdio-0.9.0.ebuild
+++ b/dev-ml/stdio/stdio-0.9.0.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=6
 
+inherit opam
+
 DESCRIPTION="Standard IO Library for OCaml"
 HOMEPAGE="https://github.com/janestreet/stdio";
 SRC_URI="https://github.com/janestreet/stdio/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
@@ -12,17 +14,9 @@ SLOT="0/${PV}"
 KEYWORDS="~amd64"
 IUSE=""
 
-RDEPEND="dev-lang/ocaml:= dev-ml/base:="
-DEPEND="${RDEPEND} dev-ml/opam dev-ml/jbuilder"
+RDEPEND="dev-ml/base:="
+DEPEND="${RDEPEND} dev-ml/jbuilder"
 
 src_test() {
        jbuilder runtest || die
 }
-
-src_install() {
-       opam-installer -i \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               ${PN}.install || die
-}

Reply via email to