dev-ml/ppx_type_conv: convert to opam.eclass
authorAlexis Ballier <aballier@gentoo.org>
Tue, 15 Aug 2017 07:15:16 +0000 (09:15 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 15 Aug 2017 07:26:10 +0000 (09:26 +0200)
Package-Manager: Portage-2.3.7, Repoman-2.3.3

dev-ml/ppx_type_conv/ppx_type_conv-0.9.0.ebuild

index b8868855e53ddc7663b084b129adabbc4b0a39a3..476039b4d8ee90a74dac15c4785078055328ee6c 100644 (file)
@@ -3,6 +3,8 @@
 
 EAPI=6
 
+inherit opam
+
 DESCRIPTION="Support Library for type-driven code generators"
 HOMEPAGE="https://github.com/janestreet/ppx_type_conv"
 SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -21,12 +23,4 @@ DEPEND="
 "
 
 RDEPEND="${DEPEND}"
-DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder"
-
-src_install() {
-       opam-installer -i \
-               --prefix="${ED}/usr" \
-               --libdir="${D}/$(ocamlc -where)" \
-               --docdir="${ED}/usr/share/doc/${PF}" \
-               ${PN}.install || die
-}
+DEPEND="${DEPEND} dev-ml/jbuilder"