-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
47 lines (47 loc) · 1.74 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
opam-version: "2.0"
maintainer: "Markus Mottl <markus.mottl@gmail.com>"
authors: [ "Markus Mottl <markus.mottl@gmail.com>"
"Christian Szegedy <csdontspam@metamatix.com>" ]
license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
homepage: "http://mmottl.github.io/sqlite3-ocaml"
dev-repo: "git+https://github.com/mmottl/sqlite3-ocaml.git"
bug-reports: "https://github.com/mmottl/sqlite3-ocaml/issues"
tags: [ "clib:sqlite3" "clib:pthread" ]
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"] {os != "macos"}
["env" "SQLITE3_OCAML_BREWCHECK=1" "ocaml" "setup.ml" "-build"]
{os = "macos"}
["ocaml" "setup.ml" "-configure" "--enable-tests"] {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" "sqlite3"]
]
depends: [
"ocaml" {>= "3.12" & < "5.0"}
"ocamlbuild" {build}
"ocamlfind" {build & >= "1.3.1"}
"conf-pkg-config" {build}
"conf-sqlite3" {build}
]
synopsis: "SQLite3 bindings"
description: """
sqlite3-ocaml is an OCaml library with bindings to the SQLite3 client
API. Sqlite3 is a self-contained, serverless, zero-configuration,
transactional SQL database engine with outstanding performance for
many use cases. These bindings are written in a way that enables a
friendly coexistence with the old (version 2) SQLite and its OCaml
wrapper ocaml-sqlite."""
flags: light-uninstall
url {
src:
"https://github.com/mmottl/sqlite3-ocaml/releases/download/v4.1.0/sqlite3-ocaml-4.1.0.tar.gz"
checksum: [
"sha256=1ab50edeee261da6835bc3b80e3d30172e37f2f230d186ae0099c1539574b79b"
"md5=4ab3f90cfb815e4495d9b42c4fe2b684"
]
}