opam-version: "2.0"
maintainer: "Romain Beauxis <toots@rastageeks.org>"
authors: "The Savonet Team <savonet-users@lists.sourceforge.net>"
homepage: "https://github.com/savonet/ocaml-alsa"
build: [
  ["./configure" "--prefix" prefix]
  [make]
]
install: [
  [make "install"]
]
remove: ["ocamlfind" "remove" "alsa"]
depends: ["ocaml" "ocamlfind" "conf-pkg-config" {build}]
depexts: [
  ["alsa-lib-dev"] {os-distribution = "alpine"}
  ["alsa-lib-devel"] {os-distribution = "centos"}
  ["alsa-lib-devel"] {os-distribution = "fedora"}
  ["alsa-lib-devel"] {os-family = "suse"}
  ["libasound2-dev"] {os-family = "debian"}
]
bug-reports: "https://github.com/savonet/ocaml-alsa/issues"
dev-repo: "git+https://github.com/savonet/ocaml-alsa.git"
available: [os = "linux"]
synopsis:
  "Bindings for the ALSA library which provides functions for using soundcards"
flags: light-uninstall
url {
  src:
    "https://github.com/savonet/ocaml-alsa/releases/download/0.2.3/ocaml-alsa-0.2.3.tar.gz"
  checksum: "md5=bf14e0c419a8141a56a1cede08577843"
}
