-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
33 lines (33 loc) · 1.15 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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: [
"sha256=0cc3d6ac0f6bd27983bb307fdfe3b41dc52a37fe3cec4e029bf92e373a9b272a"
"md5=d760f081a25259fb0c79175bcb51d6cd"
]
}