opam-version: "2.0"
maintainer: "Andre Nathan <andrenth@gmail.com>"
authors: "Andre Nathan <andrenth@gmail.com>"
homepage: "https://github.com/andrenth/ocaml-mariadb"
bug-reports: "https://github.com/andrenth/ocaml-mariadb/issues"
license: "MIT"
dev-repo: "git+https://github.com/andrenth/ocaml-mariadb.git"
synopsis: "OCaml bindings for MariaDB"
description: "OCaml-MariaDB provides Ctypes-based bindings for MariaDB, including its nonblocking API."

build: [
  ["./configure" "--prefix=%{prefix}%"]
  [make]
]
install: [make "install"]
depends: [
  "ocaml" {>= "4.07.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "ctypes" {>= "0.7.0"}
  "conf-mariadb"
]
available: arch != "arm32" & arch != "x86_32" # https://github.com/andrenth/ocaml-mariadb/pull/37
url {
  src: "https://github.com/andrenth/ocaml-mariadb/archive/1.1.4.tar.gz"
  checksum: [
    "md5=ffbce0267be1fa60df1f623eb72cb2a1"
    "sha512=2ca1fd613abe060d21e95e265d7a1e2699a2b78918a940757fcf0925c0b6dabfeea655b17dfa12610f8a1d5fa475a69ba767cd4572391e21e34c95581407c37f"
  ]
}
