opam-version: "2.0"
maintainer: "Samuel Mimram <smimram@gmail.com>"
authors: "Samuel Mimram <smimram@gmail.com>"
homepage: "http://smimram.github.io/ocaml-glpk/"
license: "GPL-2.0-only"
dev-repo: "git+https://github.com/smimram/ocaml-glpk.git"
bug-reports: "https://github.com/smimram/ocaml-glpk/issues"
build: [make "byte" "opt"]
remove: [["ocamlfind" "remove" "glpk"]]
depends: [
  "ocaml" {< "4.04.0"}
  "ocamlfind"
]
depexts: [
  ["libglpk-dev"] {os-family = "debian"}
  ["homebrew/science/glpk"] {os = "macos" & os-distribution = "homebrew"}
]
install: [make "install"]
synopsis: "Bindings for glpk"
description: """
ocaml-glpk are OCaml bindings to GLPK (GNU Linear Programming Kit)
which is a package intended for solving large-scale linear programming
(LP), mixed integer programming (MIP), and other related problems. The
library is released under the GPL license (like GLPK itself)."""
flags: light-uninstall
url {
  src: "https://github.com/smimram/ocaml-glpk/archive/0.1.7.tar.gz"
  checksum: "md5=65f600f8ae12ab022fdbe5546727c919"
}
