-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopam
executable file
·67 lines (59 loc) · 2.28 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
version: "0.6.3"
synopsis: """Logging infrastructure for OCaml"""
description: """\
Logs provides a logging infrastructure for OCaml. Logging is performed
on sources whose reporting level can be set independently. Log message
report is decoupled from logging and is handled by a reporter.
A few optional log reporters are distributed with the base library and
the API easily allows to implement your own.
`Logs` has no dependencies. The optional `Logs_fmt` reporter on OCaml
formatters depends on [Fmt][fmt]. The optional `Logs_browser`
reporter that reports to the web browser console depends on
[js_of_ocaml][jsoo]. The optional `Logs_cli` library that provides
command line support for controlling Logs depends on
[`Cmdliner`][cmdliner]. The optional `Logs_lwt` library that provides
Lwt logging functions depends on [`Lwt`][lwt]
Logs and its reporters are distributed under the ISC license.
[fmt]: http://erratique.ch/software/fmt
[jsoo]: http://ocsigen.org/js_of_ocaml/
[cmdliner]: http://erratique.ch/software/cmdliner
[lwt]: http://ocsigen.org/lwt/
"""
opam-version: "2.0"
maintainer: "Sai Venkata Krishnan <[email protected]>"
authors: ["The logs programmers"]
homepage: "https://erratique.ch/software/logs"
doc: "https://erratique.ch/software/logs/doc"
dev-repo: "git+https://erratique.ch/repos/logs.git"
bug-reports: "https://github.com/dbuenzli/logs/issues"
tags: [ "log" "system" "org:erratique" ]
license: "ISC"
depends: [
"ocamlfind" {build}
"ocamlbuild" {build}
"ocaml-riscv" {>= "4.07.0"}
"topkg" {build}
"mtime" {with-test} ]
depopts: [
"fmt-riscv"
"cmdliner-riscv"
"lwt-riscv" ]
conflicts: [
"js_of_ocaml" { < "3.3.0" } ]
build: [
[make "add-cap-files"]
[
"ocaml" "pkg/pkg.ml" "build"
"--pinned" "%{pinned}%"
"--with-js_of_ocaml" "%{js_of_ocaml-riscv:installed}%"
"--with-fmt" "%{fmt-riscv:installed}%"
"--with-cmdliner" "%{cmdliner-riscv:installed}%"
"--with-lwt" "%{lwt-riscv:installed}%"
"--toolchain" "riscv"]]
install: [["opam-installer" "--prefix=%{prefix}%/riscv-sysroot" "logs.install"]]
# extra-files: ["pkg.patch" "md5=b502fa823a9701b236cb2f6d006978f5"]
# patches: [ "pkg.patch" ]
url {
src: "https://erratique.ch/software/logs/releases/logs-0.6.3.tbz"
checksum: "md5=370e4c802588f73d0777c59bc414b57b"
}