opam-version: "2.0"
maintainer: "ygrek@autistici.org"
authors: [
  "Christian Lindig <lindig@eecs.harvard.edu>"
  "Shawn Wagner <shawnw@speakeasy.org>"
  "ygrek <ygrek@autistici.org>"
]
homepage: "https://ygrek.org/p/ocaml-mysql/"
doc: "https://ygrek.org/p/ocaml-mysql/api/index.html"
dev-repo: "git://github.com/ygrek/ocaml-mysql.git"
bug-reports: "https://github.com/ygrek/ocaml-mysql/issues"
license: "LGPL-2.1"
tags: ["org:ygrek"]
build: [
  ["./configure" "--prefix" "%{prefix}%"]
  [make]
  [make "htdoc"] {with-doc}
]
install: [make "install"]
depends: [
  "ocaml"
  "ocamlfind" {build}
  ("conf-mariadb" | "conf-mysql")
]
synopsis:
  "Bindings to C client library for interacting with Mysql/MariaDB/Percona databases"
url {
  src: "https://ygrek.org/p/release/ocaml-mysql/ocaml-mysql-1.2.4.tar.gz"
  checksum: [
    "md5=022ec98e702eba2828888d05357a94e0"
    "sha256=8535a88f74a34dfdb51c4539e4a965b84204273bd04e539a5d729f2536da6c9f"
    "sha512=d22269cd24a7c2ed1ccf91c6c8a330cf5a8006cb40b368fe2fa90a543a5e01437e884de4d1c2009b7ce7f34fec070f73d98372dfebb0e69c516681731c725e4a"
  ]
  mirrors:
    "https://github.com/ygrek/ocaml-mysql/releases/download/v1.2.4/ocaml-mysql-1.2.4.tar.gz"
}
