this repo has no description
1opam-version: "2.0"
2maintainer: "Markus Mottl <markus.mottl@gmail.com>"
3authors: [ "Alain Frisch <alain.frisch@lexifi.com>"
4 "Markus Mottl <markus.mottl@gmail.com>"
5 "Petter Urkedal <paurkedal@gmail.com>" ]
6license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
7homepage: "http://mmottl.github.io/postgresql-ocaml"
8dev-repo: "git+https://github.com/mmottl/postgresql-ocaml.git"
9bug-reports: "https://github.com/mmottl/postgresql-ocaml/issues"
10tags: [ "clib:pq" ]
11build: [
12 [
13 "ocaml"
14 "setup.ml"
15 "-configure"
16 "--prefix"
17 prefix
18 "--%{lablgtk:enable}%-lablgtk2"
19 ]
20 ["ocaml" "setup.ml" "-build"]
21 [
22 "ocaml"
23 "setup.ml"
24 "-configure"
25 "--enable-tests"
26 "--%{lablgtk:enable}%-lablgtk2"
27 ] {with-test}
28 ["ocaml" "setup.ml" "-build"] {with-test}
29 ["ocaml" "setup.ml" "-test"] {with-test}
30 ["ocaml" "setup.ml" "-doc"] {with-doc}
31]
32install: ["ocaml" "setup.ml" "-install"]
33remove: [
34 ["ocamlfind" "remove" "postgresql"]
35]
36depends: [
37 "ocaml" {>= "3.12" & < "5.0.0"}
38 "base-bigarray"
39 "base-bytes"
40 "base-threads"
41 "ocamlfind" {build & >= "1.5"}
42 "ocamlbuild" {build}
43]
44depopts: [
45 "lablgtk" {build}
46]
47depexts: [
48 ["libpq-dev"] {os-family = "debian"}
49 ["postgresql-devel"] {os-distribution = "fedora"}
50 ["postgresql-libs"] {os-distribution = "arch"}
51 ["postgresql-dev"] {os-distribution = "alpine"}
52 ["postgresql-devel"] {os-distribution = "centos"}
53 ["postgresql"] {os-distribution = "gentoo"}
54 ["postgresql-devel"] {os-family = "suse" | os-family = "opensuse"}
55]
56synopsis: "Bindings to the PostgreSQL library"
57description: """
58postgresql-ocaml offers library functions for accessing PostgreSQL
59databases"""
60flags: light-uninstall
61url {
62 src:
63 "https://github.com/mmottl/postgresql-ocaml/releases/download/v4.0.1/postgresql-ocaml-4.0.1.tar.gz"
64 checksum: [
65 "sha256=07d8fdb5c161b30809876375c43ebf29e5b99a475ee6b019b6fee3a80c18a4cb"
66 "md5=88b368523fa6f7dcba14123a06347d0a"
67 ]
68}