summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-08-15 09:17:16 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-08-15 09:26:11 +0200
commit4341b2af11a9bef2049c9adbe0c88663e8873798 (patch)
treec7c932a2656d9150d6e0a67409097a7752b95ddf /dev-ml/ppx_traverse_builtins
parentdev-ml/ppx_traverse: convert to opam.eclass (diff)
downloadgentoo-4341b2af11a9bef2049c9adbe0c88663e8873798.tar.gz
gentoo-4341b2af11a9bef2049c9adbe0c88663e8873798.tar.bz2
gentoo-4341b2af11a9bef2049c9adbe0c88663e8873798.zip
dev-ml/ppx_traverse_builtins: convert to opam.eclass
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-ml/ppx_traverse_builtins')
-rw-r--r--dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild16
1 files changed, 3 insertions, 13 deletions
diff --git a/dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild b/dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild
index 3e0329bd70e5..c76afb9815d4 100644
--- a/dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild
+++ b/dev-ml/ppx_traverse_builtins/ppx_traverse_builtins-0.9.0.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit opam
+
DESCRIPTION="Builtins for ppx_traverse"
HOMEPAGE="https://github.com/janestreet/ppx_traverse_builtins"
SRC_URI="https://github.com/janestreet/ppx_traverse_builtins/archive/v${PV}.tar.gz -> ${P}.tar.gz"
@@ -12,19 +14,7 @@ SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
-DEPEND="
- dev-lang/ocaml:=
-"
+DEPEND=""
RDEPEND="${DEPEND}"
DEPEND="${RDEPEND}
- dev-ml/opam
dev-ml/jbuilder"
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- --mandir="${ED}/usr/share/man" \
- ${PN}.install || die
-}