summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-10-06 15:08:24 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-10-06 15:11:15 +0200
commit2ac43a680ad96f2ebfb1fea9a04531531abdbd9d (patch)
treeb3af6bb6e59fd92220127a89d29961ea28744174 /dev-ml/ocaml-redis
parentdev-ml/ocaml-websocket: update to opam.eclass (diff)
downloadgentoo-2ac43a680ad96f2ebfb1fea9a04531531abdbd9d.tar.gz
gentoo-2ac43a680ad96f2ebfb1fea9a04531531abdbd9d.tar.bz2
gentoo-2ac43a680ad96f2ebfb1fea9a04531531abdbd9d.zip
dev-ml/ocaml-redis: convert to opam.eclass
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'dev-ml/ocaml-redis')
-rw-r--r--dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild b/dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild
index 80c9ad7b4ef0..97c63e8a8de4 100644
--- a/dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild
+++ b/dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild
@@ -3,7 +3,7 @@
EAPI=5
-inherit findlib
+inherit findlib opam
DESCRIPTION="Redis bindings for OCaml"
HOMEPAGE="http://0xffea.github.io/ocaml-redis/ https://github.com/0xffea/ocaml-redis/"
@@ -21,7 +21,6 @@ RDEPEND="
"
DEPEND="${RDEPEND}
dev-ml/jbuilder
- dev-ml/opam
test? ( dev-ml/ounit dev-db/redis dev-ml/lwt )"
src_compile() {
@@ -40,9 +39,5 @@ src_test() {
}
src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- redis.install || die
+ opam_src_install redis
}