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-taglib"
build: [
  ["./configure" "--prefix" prefix]
  [make]
]
install: [
  [make "install"]
]
remove: ["ocamlfind" "remove" "taglib"]
depends: [
  "ocaml" {< "4.10"}
  "ocamlfind"
  "conf-pkg-config"
]
depexts: [
  ["taglib-dev"] {os-distribution = "alpine"}
  ["gcc-c++" "taglib-devel"] {os-family = "suse"}
  ["gcc-c++" "taglib-devel"] {os-distribution = "fedora"}
  ["gcc-c++" "taglib-devel"] {os-distribution = "centos"}
  ["libtag1-dev"] {os-family = "debian"}
  ["taglib"] {os = "macos" & os-distribution = "homebrew"}
]
bug-reports: "https://github.com/savonet/ocaml-taglib/issues"
dev-repo: "git+https://github.com/savonet/ocaml-taglib.git"
synopsis:
  "Bindings for the taglib library which provides functions for reading tags in headers of audio files"
flags: light-uninstall
url {
  src:
    "https://github.com/savonet/ocaml-taglib/releases/download/0.3.3/ocaml-taglib-0.3.3.tar.gz"
  checksum: "md5=17673909b2a0d48d43bcab80b112cce1"
}
