/
opam
43 lines (43 loc) · 1.31 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: "ygrek@autistici.org"
homepage: "https://github.com/ygrek/ocaml-zstd"
license: "BSD-3-Clause"
authors: [ "ygrek" ]
#doc: ["http://ocurl.forge.ocamlcore.org/api/index.html"]
dev-repo: "git+https://github.com/ygrek/ocaml-zstd.git"
bug-reports: "https://github.com/ygrek/ocaml-zstd/issues"
build: [
["ocaml" "setup.ml" "-configure" "--disable-tests" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-configure" "--enable-tests" "--prefix" prefix]
{with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: [
["ocaml" "setup.ml" "-install"]
]
remove: [
["ocamlfind" "remove" "zstd"]
]
depends: [
"ocaml"
"ocamlfind" {build}
"oasis" {build}
"ocamlbuild" {build}
"ctypes" {< "0.6.0"}
("extlib" {with-test} | "extlib-compat" {with-test})
"base-unix" {with-test}
"conf-zstd"
]
synopsis: "Bindings to zstd compression library"
description: """
Zstd, short for Zstandard, is a fast lossless compression algorithm,
targeting real-time compression scenarios at zlib-level compression ratio.
See http://zstd.net/ for more info."""
flags: light-uninstall
url {
src: "https://ygrek.org/p/release/ocaml-zstd/ocaml-zstd-0.1.tar.gz"
checksum: "md5=584f0a706a194ace68c5ed7c5f9ea0dd"
}