summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-09 11:51:37 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-09 11:51:37 +0100
commit8585458bed50c1a6547fe1a670365f3fddb357fd (patch)
tree86fefc70b7ee100e06586c7f820d669ed7223004 /dev-ml
parentdev-ml/uuidm: initial import; ebuild by me (diff)
downloadgentoo-8585458bed50c1a6547fe1a670365f3fddb357fd.tar.gz
gentoo-8585458bed50c1a6547fe1a670365f3fddb357fd.tar.bz2
gentoo-8585458bed50c1a6547fe1a670365f3fddb357fd.zip
dev-ml/ocaml-redis: initial import; ebuild by me
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-redis/Manifest1
-rw-r--r--dev-ml/ocaml-redis/metadata.xml11
-rw-r--r--dev-ml/ocaml-redis/ocaml-redis-0.2.3.ebuild28
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ml/ocaml-redis/Manifest b/dev-ml/ocaml-redis/Manifest
new file mode 100644
index 000000000000..72ebe7ec5449
--- /dev/null
+++ b/dev-ml/ocaml-redis/Manifest
@@ -0,0 +1 @@
+DIST ocaml-redis-0.2.3.tar.gz 61333 SHA256 954b498944b0340b8ea83e7af3740a34e3212cd0fcce5b3c02ba253836fcd374 SHA512 8f1c582778fc3cc8dd1e46b7369b66dc33692d7e836703fe8649ce16070469a5d7adbae8e198087e820b2254056edbb815de5c43fbf5fd7cb66d02b2e303018c WHIRLPOOL a34df4e5726ffa8cc3228a9099fbc03063d422753b3a60c1fd2e48a048066e4fe4d94f66ac346fdba64e3c618fc03b1b6fe107fd94c0e9e29059722123979c99
diff --git a/dev-ml/ocaml-redis/metadata.xml b/dev-ml/ocaml-redis/metadata.xml
new file mode 100644
index 000000000000..f66dae1d4128
--- /dev/null
+++ b/dev-ml/ocaml-redis/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+</maintainer>
+ <use>
+ <flag name="lwt">Enable lwt bindings for asynchronous processing.</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-ml/ocaml-redis/ocaml-redis-0.2.3.ebuild b/dev-ml/ocaml-redis/ocaml-redis-0.2.3.ebuild
new file mode 100644
index 000000000000..d3104f08430e
--- /dev/null
+++ b/dev-ml/ocaml-redis/ocaml-redis-0.2.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+OASIS_BUILD_TESTS=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"
+
+DEPEND="
+ dev-ml/ocaml-re:=
+ dev-ml/uuidm:=
+ lwt? ( dev-ml/lwt:= )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ oasis_configure_opts="$(use_enable lwt)" oasis_src_configure
+}