this repo has no description
1opam-version: "2.0"
2maintainer: "ygrek@autistici.org"
3homepage: "https://ygrek.org/p/ocaml-snappy"
4dev-repo: "git+https://github.com/ygrek/ocaml-snappy.git"
5bug-reports: "https://github.com/ygrek/ocaml-snappy/issues"
6doc: ["https://ygrek.org/p/ocaml-snappy/api/index.html"]
7license: "BSD-3-Clause"
8authors: [ "ygrek" ]
9tags: ["org:ygrek"]
10build: [
11 ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
12 ["ocaml" "setup.ml" "-build"]
13 ["ocaml" "setup.ml" "-configure" "--enable-tests" "--prefix" prefix]
14 {with-test}
15 ["ocaml" "setup.ml" "-build"] {with-test}
16 ["ocaml" "setup.ml" "-test"] {with-test}
17 ["ocaml" "setup.ml" "-doc"] {with-doc}
18]
19install: [["ocaml" "setup.ml" "-install"]]
20remove: [["ocamlfind" "remove" "snappy"]]
21depends: [
22 "ocaml" {< "4.09.0"}
23 "ocamlfind" {build}
24 "ocamlbuild" {build}
25 "conf-snappy"
26]
27patches: "myocamlbuild.ml.osx.patch" {os = "macos"}
28synopsis: "Bindings to snappy - fast compression/decompression library"
29flags: light-uninstall
30url {
31 src: "https://ygrek.org/p/release/ocaml-snappy/ocaml-snappy-0.1.1.tar.gz"
32 checksum: [
33 "sha256=0b3874647c5b7cea534d67d54cad2d26a7f9305e9b262c8d62e1673a500509ef"
34 "md5=3ccc3380d50fca0eca2dc16e0c0d3245"
35 ]
36 mirrors:
37 "https://github.com/ygrek/ocaml-snappy/releases/download/v0.1.1/ocaml-snappy-0.1.1.tar.gz"
38}
39extra-source "myocamlbuild.ml.osx.patch" {
40 src:
41 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/snappy/myocamlbuild.ml.osx.patch"
42 checksum: [
43 "sha256=a8602706029be3ed6548c7ae13ece47a1b1874a169a0e11990f89964d9e32c63"
44 "md5=1c3d251fdaf29b2b5114681b5aa16eb5"
45 ]
46}