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.
30 lines
622 B
30 lines
622 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DUNE_PKG_NAME="sqlite3"
|
|
inherit dune
|
|
|
|
DESCRIPTION="SQLite3 bindings for OCaml"
|
|
HOMEPAGE="http://mmottl.github.io/sqlite3-ocaml/"
|
|
SRC_URI="https://github.com/mmottl/sqlite3-ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/sqlite3-ocaml-${PV}"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0/${PV}"
|
|
KEYWORDS="~amd64 ~ppc ~x86"
|
|
IUSE="+ocamlopt test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND=">=dev-db/sqlite-3.3.3"
|
|
BDEPEND="
|
|
>=dev-lang/ocaml-4.06
|
|
dev-ml/dune-configurator
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
test? (
|
|
dev-ml/ppx_inline_test
|
|
)
|
|
"
|