-
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/ocaml-bitcoin-1.1.tgz"
checksum: [
"sha256=e109105128ce7c1bd077e7395eaebf7defcaffe3a5632589e043ea27eab41fe3"
"md5=68406609e42a40e0fe2642330bf35887"
]
}