summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-09-22 10:24:44 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-09-22 10:31:45 +0200
commit3d59a59245133238f2d8e8c63f37c8582e45d898 (patch)
tree7f923ce45c5e674de3a1fcbf183a977bb1ba535f /dev-ml
parent63530efc0d6ca2b12e1a2a4cc888aaa06694cddc (diff)
downloadgentoo-3d59a59245133238f2d8e8c63f37c8582e45d898.tar.gz
gentoo-3d59a59245133238f2d8e8c63f37c8582e45d898.tar.xz
dev-ml/ocaml-uri: update to opam.eclass
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild10
1 files changed, 2 insertions, 8 deletions
diff --git a/dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild b/dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild
index 87566fc4d15..53b7fbd0612 100644
--- a/dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild
+++ b/dev-ml/ocaml-uri/ocaml-uri-1.9.4.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-inherit findlib
+inherit findlib opam
DESCRIPTION="RFC3986 URI parsing library for OCaml"
HOMEPAGE="https://github.com/mirage/ocaml-uri https://mirage.io"
@@ -22,18 +22,12 @@ RDEPEND="
dev-ml/ppx_type_conv:=
dev-ml/stringext:=
dev-ml/type-conv:=
- dev-lang/ocaml:=
"
DEPEND="${RDEPEND}
test? ( >=dev-ml/ounit-1.0.2 )
dev-ml/jbuilder
- dev-ml/opam
"
src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- uri.install || die
+ opam_src_install uri
}