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: [
  ["rm" "src/oldapi/lpx.o"]
  [make "byte" "opt"]
]
remove: [["ocamlfind" "remove" "glpk"]]
depends: ["ocaml" "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/releases/download/0.1.8/ocaml-glpk-0.1.8.tar.gz"
  checksum: "md5=d760f081a25259fb0c79175bcb51d6cd"
}
