-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
72 lines (71 loc) · 2.06 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
opam-version: "2.0"
maintainer: "ygrek@autistici.org"
homepage: "https://ygrek.org/p/ocaml-extunix"
dev-repo: "git+https://github.com/ygrek/extunix.git"
bug-reports: "https://github.com/ygrek/extunix/issues"
doc: "https://ygrek.org/p/ocaml-extunix/api/index.html"
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
authors: [ "ygrek"
"Sylvain Le Gall"
"Stéphane Glondu"
"Kaustuv Chaudhuri"
"Joshua Smith"
"Niki Yoshiuchi"
"Gerd Stolpmann"
"Goswin von Brederlow"
"Andre Nathan"
"Zhenya Lykhovyd"
"Mehdi Dogguy"
"Roman Vorobets"
"Pierre Chambart"
"Dmitry Grebeniuk"
"François Bobot"
"Markus W. Weissmann"
]
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--%{ounit:enable}%-tests"
"--prefix"
prefix
] {ocaml:version >= "4.02.0"}
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
{ocaml:version < "4.02.0"}
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: [
["ocaml" "setup.ml" "-install"]
]
remove: [
["ocamlfind" "remove" "extunix"]
]
depends: [
"ocaml" {< "5.0.0"}
"ocamlfind" {build}
"camlp4" {build}
"ounit" {with-test & >= "1.0.3"}
"base-bytes"
"base-bigarray"
"base-unix"
"ocamlbuild" {build & != "0.9.0"}
]
synopsis: "Collection of thin bindings to various low-level system API"
description: """
Motto: "Be to Unix, what extlib is to stdlib"
* Implement thin C bindings that directly map to underlying system API.
* Provide common consistent ocaml interface: naming convention, exceptions.
* Simple to build - no extra dependencies."""
flags: light-uninstall
url {
src: "https://ygrek.org/p/release/ocaml-extunix/ocaml-extunix-0.1.6.tar.gz"
checksum: [
"sha256=e32483b2d3d737ba34fff7543624a8935df88bbd2ce9111f2d7b5349d2a4f52a"
"md5=bd14caccd1ef481b177090e0328e9ba7"
]
mirrors:
"https://github.com/ygrek/extunix/releases/download/v0.1.6/ocaml-extunix-0.1.6.tar.gz"
}