-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
43 lines (43 loc) · 1.08 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
opam-version: "2.0"
maintainer: "Dario Teixeira <dario.teixeira@nleyten.com>"
authors: ["Dario Teixeira <dario.teixeira@nleyten.com>"]
homepage: "http://ocaml-bitcoin.forge.ocamlcore.org/"
bug-reports: "https://github.com/darioteixeira/ocaml-bitcoin/issues"
dev-repo: "git+https://github.com/darioteixeira/ocaml-bitcoin.git"
license: "GPL-2.0-only"
build: [
[
"./configure"
"--prefix"
prefix
"--docdir"
"%{doc}%/bitcoin"
"--%{ocsigenserver:enable}%-ocsigen"
"--%{ocamlnet:enable}%-ocamlnet"
]
[make]
[make "doc"]
]
remove: [["ocamlfind" "remove" "bitcoin"]]
depends: [
"ocaml"
"yojson" {< "2.0.0"}
"ocamlnet" {< "4"}
"ocamlbuild" {build}
]
depopts: [
"lwt"
"ocsigenserver"
]
install: [make "install"]
synopsis:
"Library offering an OCaml interface to the official Bitcoin client API"
flags: light-uninstall
url {
src:
"https://download.ocamlcore.org/ocaml-bitcoin/ocaml-bitcoin/1.1.1/ocaml-bitcoin-1.1.1.tgz"
checksum: [
"sha256=de20411cc97bcfbb9fc1834facb4a44a7479aa637d9e72e0c5d810301f169a2d"
"md5=ab90771221b720f96bcdc816ebca4f03"
]
}