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: "PD" build: [ ["pg_config"] {os != "macos" | os-distribution != "homebrew"} ["sh" "-c" "\"$(brew --prefix postgresql@15)\"/bin/pg_config"] {os = "macos" & os-distribution = "homebrew"} ] 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"} ["postgresql@15"] {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