opam-version: "2.0"
maintainer: "odietric@gmail.com"
authors: [ "Oliver Gu <gu.oliver@yahoo.com>"
           "Dominik Brugger <dominikbrugger@fastmail.fm>" ]
homepage: "https://bitbucket.org/ogu/libsvm-ocaml"
build: [
  ["ocaml" "setup.ml" "-configure"]
  ["ocaml" "setup.ml" "-build"]
]
remove: [["ocamlfind" "remove" "libsvm"]]
depends: [
  "ocaml"
  "ocamlfind"
  "core" {>= "108.08.00" & < "v0.15"}
  "lacaml" {< "8.0"}
  "ocamlbuild" {build}
]
conflicts: [
  "sexplib" {>= "113.24.00"}
]
patches: [
  "svm_cli_fix.patch"
  "calc_scc_fix.patch"
]
install: ["ocaml" "setup.ml" "-install"]
depexts: [
  ["libsvm-dev"] {os-family = "debian"}
]
synopsis: "LIBSVM bindings"
description:
  "LIBSVM-OCaml is an OCaml library with bindings to the LIBSVM library."
flags: light-uninstall
extra-files: [
  ["svm_cli_fix.patch" "md5=e23c022fa50cb9ef9f8d5d1606b21475"]
  ["calc_scc_fix.patch" "md5=86bda1d0d49b1d46222fee310d4ee3e4"]
]
url {
  src:
    "https://bitbucket.org/ogu/libsvm-ocaml/downloads/libsvm-ocaml-0.8.3.tar.gz"
  checksum: "md5=c36599f5be82b2099da5d54a7fd6c4e4"
}
