opam-version: "2.0"
maintainer: "whitequark <whitequark@whitequark.org>"
authors: "whitequark <whitequark@whitequark.org>"
homepage: "https://github.com/whitequark/ocaml-lz4"
bug-reports: "https://github.com/whitequark/ocaml-lz4/issues"
license: "BSD-3-Clause"
doc: "http://whitequark.github.io/ocaml-lz4"
tags: ["compression"]
dev-repo: "git://github.com/whitequark/ocaml-lz4.git"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix "--enable-tests"]
    {with-test}
  ["ocaml" "setup.ml" "-build"] {with-test}
  ["ocaml" "setup.ml" "-test"] {with-test}
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
remove: ["ocamlfind" "remove" "lz4"]
depends: [
  "ocaml"
  "base-bytes"
  "ocamlfind" {build}
  "ctypes" {>= "0.4.1" & < "0.6.0"}
  "ounit" {with-test}
  "ocamlbuild" {build}
  "conf-liblz4"
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Bindings for LZ4, a very fast lossless compression algorithm"
flags: light-uninstall
url {
  src: "https://github.com/whitequark/ocaml-lz4/archive/v1.1.0.tar.gz"
  checksum: "md5=b3e7d0aac1436e33de5a1c2920517089"
}
