opam-version: "2.0"
maintainer: "The Savonet Team <savonet-users@lists.sourceforge.net>"
authors: "The Savonet Team <savonet-users@lists.sourceforge.net>"
homepage: "https://github.com/savonet/ocaml-shine"
bug-reports: "https://github.com/savonet/ocaml-shine/issues"
license: "GPL-2.0"
dev-repo: "git+https://github.com/savonet/ocaml-shine.git"
build: [
  ["./configure" "--prefix=%{prefix}%"] {os != "macos"}
  ["./configure" "OCAMLFLAGS=-cclib -L/usr/local/lib" "--prefix=%{prefix}%"]
    {os = "macos"}
  [make]
]
install: [make "install"]
remove: ["ocamlfind" "remove" "shine"]
depends: [
  "ocaml"
  "ocamlfind" {build}
]
depexts: [
  ["shine"] {os-distribution = "alpine"}
  ["libshine-devel"] {os-distribution = "centos"}
  ["libshine-devel"] {os-distribution = "fedora"}
  ["libshine-devel"] {os-family = "suse"}
  ["libshine-dev"] {os-family = "debian"}
  ["drfill/liquidsoap/libshine"]
    {os = "macos" & os-distribution = "homebrew"}
]
synopsis: "Fixed-point MP3 encoder."
description:
  "shine is a super fast mp3 encoding library implemented in fixed-point arithmetic."
flags: light-uninstall
url {
  src:
    "https://github.com/savonet/ocaml-shine/releases/download/0.2.1/ocaml-shine-0.2.1.tar.gz"
  checksum: "md5=0f8921966ac445295425cc52af3a84a6"
}
