opam-version: "2.0" maintainer: "Markus Mottl " authors: [ "Markus Mottl " "Christian Szegedy " ] license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" homepage: "http://mmottl.github.io/sqlite3-ocaml" dev-repo: "git+https://github.com/mmottl/sqlite3-ocaml.git" bug-reports: "https://github.com/mmottl/sqlite3-ocaml/issues" tags: [ "clib:sqlite3" "clib:pthread" ] build: [ ["ocaml" "setup.ml" "-configure" "--prefix" prefix] ["ocaml" "setup.ml" "-build"] {os != "macos"} ["env" "SQLITE3_OCAML_BREWCHECK=1" "ocaml" "setup.ml" "-build"] {os = "macos"} ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test} ["ocaml" "setup.ml" "-build"] {with-test} ["ocaml" "setup.ml" "-test"] {with-test} ["ocaml" "setup.ml" "-doc"] {with-doc} ] install: ["ocaml" "setup.ml" "-install"] remove: [ ["ocamlfind" "remove" "sqlite3"] ] depends: [ "ocaml" {>= "3.12" & < "5.0"} "ocamlbuild" {build} "ocamlfind" {build & >= "1.3.1"} "conf-pkg-config" {build} "conf-sqlite3" {build} ] synopsis: "SQLite3 bindings" description: """ sqlite3-ocaml is an OCaml library with bindings to the SQLite3 client API. Sqlite3 is a self-contained, serverless, zero-configuration, transactional SQL database engine with outstanding performance for many use cases. These bindings are written in a way that enables a friendly coexistence with the old (version 2) SQLite and its OCaml wrapper ocaml-sqlite.""" flags: light-uninstall url { src: "https://github.com/mmottl/sqlite3-ocaml/releases/download/v4.0.3/sqlite3-ocaml-4.0.3.tar.gz" checksum: [ "sha256=390383088b07fde6f775d060e59551ea796334b23b480d9937ad6429cd615d30" "md5=e09802160820271c5016170dc1f5405e" ] }