From: Alexis Ballier Date: Fri, 5 Feb 2016 16:57:03 +0000 (+0100) Subject: dev-ml/ppx_bin_prot: Use proper install method X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=312a82fc460ae0036ee8924722da67433e0a9634;p=gentoo.git dev-ml/ppx_bin_prot: Use proper install method Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier --- diff --git a/dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild b/dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild index b807702aa32a..50cf6692c41d 100644 --- a/dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild +++ b/dev-ml/ppx_bin_prot/ppx_bin_prot-113.24.00.ebuild @@ -23,7 +23,24 @@ DEPEND="dev-ml/ppx_tools:= " RDEPEND="${DEPEND}" +DEPEND="${DEPEND} dev-ml/opam" S="${WORKDIR}/${MY_P}" -DOCS=( CHANGES.md ) +src_configure() { + emake setup.exe + OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure +} + +src_compile() { + emake +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die + dodoc CHANGES.md +}