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]
44conflicts: [
45 "lablgtk" {>="2.16.0"}
46]
47depopts: [
48 "lablgtk" {build}
49]
50depexts: [
51 ["libpq-dev"] {os-family = "debian"}
52 ["postgresql-devel"] {os-distribution = "fedora"}
53 ["postgresql-libs"] {os-distribution = "arch"}
54 ["postgresql-dev"] {os-distribution = "alpine"}
55 ["postgresql-devel"] {os-distribution = "centos"}
56 ["postgresql"] {os-distribution = "gentoo"}
57 ["postgresql-devel"] {os-family = "suse" | os-family = "opensuse"}
58]
59synopsis: "Bindings to the PostgreSQL library"
60description: """
61postgresql-ocaml offers library functions for accessing PostgreSQL
62databases"""
63flags: light-uninstall
64url {
65 src:
66 "https://github.com/mmottl/postgresql-ocaml/releases/download/v4.0.0/postgresql-ocaml-4.0.0.tar.gz"
67 checksum: [
68 "sha256=c002d36a88f5550b83c665c20dfc1024d6889fced46e5d064a08188118be0a28"
69 "md5=c981eac6ab54105644aa41c1fa0f5bd7"
70 ]
71}