summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/ocaml-redis/Manifest1
-rw-r--r--dev-ml/ocaml-redis/ocaml-redis-0.3.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ml/ocaml-redis/Manifest b/dev-ml/ocaml-redis/Manifest
index 72ebe7ec5449..ab016e235fd3 100644
--- a/dev-ml/ocaml-redis/Manifest
+++ b/dev-ml/ocaml-redis/Manifest
@@ -1 +1,2 @@
DIST ocaml-redis-0.2.3.tar.gz 61333 SHA256 954b498944b0340b8ea83e7af3740a34e3212cd0fcce5b3c02ba253836fcd374 SHA512 8f1c582778fc3cc8dd1e46b7369b66dc33692d7e836703fe8649ce16070469a5d7adbae8e198087e820b2254056edbb815de5c43fbf5fd7cb66d02b2e303018c WHIRLPOOL a34df4e5726ffa8cc3228a9099fbc03063d422753b3a60c1fd2e48a048066e4fe4d94f66ac346fdba64e3c618fc03b1b6fe107fd94c0e9e29059722123979c99
+DIST ocaml-redis-0.3.0.tar.gz 69120 SHA256 8ff583321aea5398af98688eb84d3c3581aba0df1d2c34b437e2ba5e70585e3d SHA512 84e57763d23b309adc7d112ff5c3b79307f4d3077ed177166b57d09b249062466c48b269bddf647438af760981c909e26296669a80778198832bf79151b29e2b WHIRLPOOL 57cf2a1644ebd93d15b8b9432de040026a7c0cbf9542405198bdf0a6b180cbc469005ca44cd9da1a010682df88b9e608dbcb366315fd47a2b8f91b4306ec8e32
diff --git a/dev-ml/ocaml-redis/ocaml-redis-0.3.0.ebuild b/dev-ml/ocaml-redis/ocaml-redis-0.3.0.ebuild
new file mode 100644
index 000000000000..7f07088fca6a
--- /dev/null
+++ b/dev-ml/ocaml-redis/ocaml-redis-0.3.0.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
+}