Skip to content

Commit

Permalink
dev-ml/ocaml-redis: convert to opam.eclass
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
aballier committed Oct 6, 2017
1 parent 3634414 commit 2ac43a6
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions dev-ml/ocaml-redis/ocaml-redis-0.3.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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() {
Expand All @@ -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
}

0 comments on commit 2ac43a6

Please sign in to comment.