opam-version: "2.0"
maintainer: "Markus Mottl <markus.mottl@gmail.com>"
authors: [ "Markus Mottl <markus.mottl@gmail.com>"
           "Christian Szegedy <csdontspam@metamatix.com>" ]
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"  ]
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
  ["ocamlfind" "remove" "sqlite3"]
]
depends: [
  "ocaml" {>= "3.12"}
  "ocamlfind" {build & >= "1.3.1"}
  "ocamlbuild" {build}
  "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/v3.0.0/sqlite3-ocaml-3.0.0.tar.gz"
  checksum: "md5=0fed3baca55221e9b3711e7da45eed7a"
}
