summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-06 14:04:50 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-06 14:30:27 +0200
commit6d73cae028c5caa21cece1f24347804342a5afba (patch)
treebff9d03a6460eed8ca0b40ab403f38fcacdbf374 /dev-ml/typerep_extended
parentapp-office/libreoffice-l10n: Fix manifest... (diff)
downloadgentoo-6d73cae028c5caa21cece1f24347804342a5afba.tar.gz
gentoo-6d73cae028c5caa21cece1f24347804342a5afba.tar.bz2
gentoo-6d73cae028c5caa21cece1f24347804342a5afba.zip
dev-ml/typerep_extended: convert to opam.eclass
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-ml/typerep_extended')
-rw-r--r--dev-ml/typerep_extended/typerep_extended-0.9.0.ebuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/dev-ml/typerep_extended/typerep_extended-0.9.0.ebuild b/dev-ml/typerep_extended/typerep_extended-0.9.0.ebuild
index 0715c39b74ef..a41c045533c4 100644
--- a/dev-ml/typerep_extended/typerep_extended-0.9.0.ebuild
+++ b/dev-ml/typerep_extended/typerep_extended-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Runtime types for OCaml (Extended)"
HOMEPAGE="https://github.com/janestreet/typerep_extended"
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -13,7 +15,6 @@ KEYWORDS="~amd64"
IUSE=""
DEPEND="
- dev-lang/ocaml:=
dev-ml/bin-prot:=
dev-ml/core_kernel:=
dev-ml/ppx_bin_prot:=
@@ -27,12 +28,4 @@ DEPEND="
dev-ml/ocaml-migrate-parsetree:=
"
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"