opam-version: "2.0" maintainer: "Markus Mottl " authors: "Markus Mottl " homepage: "https://www.postgresql.org" dev-repo: "git+https://github.com/mmottl/postgresql-ocaml.git" license: "blessing" build: [ ["pkgconf" {os = "win32" & os-distribution != "cygwinports"} "--personality=i686-w64-mingw32" {os = "win32" & os-distribution != "cygwinports" & host-arch-x86_32:installed} "--personality=x86_64-w64-mingw32" {os = "win32" & os-distribution != "cygwinports" & host-arch-x86_64:installed} "pkg-config" {os != "win32" | os-distribution != "cygwin"} "libpq"] ] depends: [ "conf-pkg-config" {build} ("host-arch-x86_32" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-postgresql-i686" {os = "win32" & os-distribution != "cygwinports"} | "host-arch-x86_64" {os = "win32" & os-distribution != "cygwinports"} & "conf-mingw-w64-postgresql-x86_64" {os = "win32" & os-distribution != "cygwinports"}) ] bug-reports: "https://github.com/ocaml/opam-repository/issues" depexts: [ ["libpq-dev"] {os-family = "debian"} ["libpq-dev"] {os-family = "ubuntu"} ["libpq-devel"] {os-distribution = "centos" & os-version >= "8"} ["libpq-devel"] {os-distribution = "rhel" & os-version >= "8"} ["libpq-devel"] {os-distribution = "ol" & os-version >= "8"} ["libpq-devel"] {os-distribution = "fedora" & os-version >= "30"} ["postgresql15-client"] {os-distribution = "freebsd" & os-version >= "13"} ["postgresql96-client"] {os-distribution = "freebsd" & os-version < "13"} ["postgresql96-client"] {os-distribution = "openbsd"} ["postgresql-devel"] {os-distribution = "centos" & os-version < "8"} ["postgresql-devel"] {os-distribution = "rhel" & os-version < "8"} ["postgresql-devel"] {os-distribution = "ol" & os-version < "8"} ["postgresql-devel"] {os-distribution = "fedora" & os-version < "30"} ["postgresql-server-devel"] {os-family = "suse" | os-family = "opensuse"} ["postgresql-dev"] {os-distribution = "alpine" & os-version < "3.15"} ["postgresql14-dev"] {os-distribution = "alpine" & os-version >= "3.15"} ["postgresql"] {os = "win32" & os-distribution = "cygwinports"} ["postgresql-libs"] {os-family = "arch"} ["libpq"] {os = "macos" & os-distribution = "homebrew"} ["postgresql96"] {os = "macos" & os-distribution = "macports"} ["postgresql"] {os-distribution = "nixos"} ] post-messages: [ """If this package failed with "Command not found: pg_config", you might need to call "brew link postgresql@15" and retry to install this package afterwards.""" {failure & os = "macos" & os-distribution = "homebrew"} ] synopsis: "Virtual package relying on a PostgreSQL system installation" description: "This package can only install if PostgreSQL is installed on the system." flags: conf