opam-version: "2.0" maintainer: "Markus Mottl " authors: [ "Alain Frisch " "Markus Mottl " "Petter Urkedal " ] license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception" homepage: "http://mmottl.github.io/postgresql-ocaml" dev-repo: "git+https://github.com/mmottl/postgresql-ocaml.git" bug-reports: "https://github.com/mmottl/postgresql-ocaml/issues" tags: [ "clib:pq" ] build: [ [ "ocaml" "setup.ml" "-configure" "--prefix" prefix "--%{lablgtk:enable}%-lablgtk2" ] ["ocaml" "setup.ml" "-build"] [ "ocaml" "setup.ml" "-configure" "--enable-tests" "--%{lablgtk:enable}%-lablgtk2" ] {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" "postgresql"] ] depends: [ "ocaml" {>= "3.12" & < "5.0.0"} "base-bigarray" "base-bytes" "base-threads" "ocamlfind" {build & >= "1.5"} "ocamlbuild" {build} ] depopts: [ "lablgtk" ] depexts: [ ["libpq-dev"] {os-family = "debian"} ["postgresql-devel"] {os-distribution = "fedora"} ["postgresql-libs"] {os-distribution = "arch"} ["postgresql-dev"] {os-distribution = "alpine"} ["postgresql-devel"] {os-distribution = "centos"} ["postgresql"] {os-distribution = "gentoo"} ["postgresql-devel"] {os-family = "suse" | os-family = "opensuse"} ] synopsis: "Bindings to the PostgreSQL library" description: """ postgresql-ocaml offers library functions for accessing PostgreSQL databases""" flags: light-uninstall url { src: "https://github.com/mmottl/postgresql-ocaml/releases/download/v3.2.1/postgresql-ocaml-3.2.1.tar.gz" checksum: [ "sha256=e4679e22f10d4c366ad03b926ab63e65618e4da8359e16711d8f2d9dff8a7593" "md5=89f7c6b7dc8a877b6a3cb2f23191aac3" ] }