You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ml/ocaml-redis/ocaml-redis-0.3.2.ebuild

31 lines
606 B

# 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
}