opam-version: "2.0"
maintainer: "smimram@gmail.com"
build: [
  ["./configure" "--prefix" prefix]
  [make]
]
remove: [["ocamlfind" "remove" "samplerate"]]
depends: ["ocaml" "ocamlfind"]
depexts: [
  ["libsamplerate0-dev"] {os-family = "debian"}
  ["libsamplerate"] {os = "macos" & os-distribution = "homebrew"}
]
install: [make "install"]
synopsis:
  "Bindings for the samplerate library which provides functions for changing samplerate of audio data"
flags: light-uninstall
url {
  src:
    "http://downloads.sourceforge.net/project/savonet/ocaml-samplerate/0.1.2/ocaml-samplerate-0.1.2.tar.gz"
  checksum: "md5=ea01e55b0c01aa0e03ded5fe4e24007a"
}
