/
opam
68 lines (67 loc) · 1.97 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
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://extunix.forge.ocamlcore.org/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" ]
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--%{ounit:enable}%-tests" {with-test}
"--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"}
"ocaml" {with-test & < "4.06"}
"ocamlfind" {build}
"camlp4" {build}
"ounit" {with-test & >= "1.0.3"}
"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.4.tar.gz"
checksum: "md5=d4ac544b276fb8717d5c75e032b33577"
mirrors:
"https://github.com/ygrek/extunix/releases/download/v0.1.4/ocaml-extunix-0.1.4.tar.gz"
}