summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/ocaml-redis/ocaml-redis-0.3.2.ebuild')
-rw-r--r--dev-ml/ocaml-redis/ocaml-redis-0.3.2.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-ml/ocaml-redis/ocaml-redis-0.3.2.ebuild b/dev-ml/ocaml-redis/ocaml-redis-0.3.2.ebuild
new file mode 100644
index 000000000000..7f07088fca6a
--- /dev/null
+++ b/dev-ml/ocaml-redis/ocaml-redis-0.3.2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+OASIS_BUILD_TESTS=1
+OASIS_BUILD_DOCS=1
+
+inherit oasis
+
+DESCRIPTION="Redis bindings for OCaml"
+HOMEPAGE="http://0xffea.github.io/ocaml-redis/"
+SRC_URI="https://github.com/0xffea/ocaml-redis/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+lwt"
+
+RDEPEND="
+ dev-ml/ocaml-re:=
+ dev-ml/uuidm:=
+ lwt? ( dev-ml/lwt:= )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
+
+src_configure() {
+ oasis_configure_opts="$(use_enable lwt)" oasis_src_configure
+}