/
opam
47 lines (47 loc) · 1.3 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: "dave@recoil.org"
authors: ["Jonathan Ludlam" "David Scott"]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://github.com/xapi-project/nbd"
dev-repo: "git+https://github.com/xapi-project/nbd.git"
bug-reports: "https://github.com/xapi-project/nbd/issues"
build: [
["oasis" "setup"]
["./configure" "--prefix" prefix]
[make]
["./configure" "--enable-tests"] {with-test}
[make "test"] {with-test}
]
install: [
[make "install" "BINDIR=%{bin}%"]
]
remove: [
[make "uninstall" "BINDIR=%{bin}%"]
["ocamlfind" "remove" "nbd"]
]
depends: [
"ocaml" {>= "4.02.0"}
"oasis" {build}
"ounit" {with-test}
"ocamlfind" {build}
"ppx_tools"
"lwt" {>= "2.4.5" & < "2.6.0"}
"cstruct" {>= "1.9.0" & < "3.0.0"}
"cmdliner"
"sexplib"
"mirage-block-unix" {< "2.5.0"}
"io-page" {< "2.0.0"}
"mirage" {>= "1.1.0" & < "3.0.0"}
"uri"
"ppx_deriving"
"ppx_sexp_conv" {!= "113.33.00+4.03"}
]
tags: ["org:mirage" "org:xapi-project"]
synopsis: "Network Block Device (NBD) protocol implementation"
description: """
This library allows applications to export and consume block
devices using the NBD protocol (as used by Linux, qemu etc)"""
url {
src: "https://github.com/xapi-project/nbd/archive/v2.1.0.tar.gz"
checksum: "md5=6f372f8f287ac142024a820cd44f7a5e"
}