opam-version: "2.0"
maintainer: "alt-ergo@ocamlpro.com"
authors: "Alt-Ergo developers"
license: "OCamlPro Non-Commercial License"
homepage: "http://alt-ergo.ocamlpro.com/"
bug-reports: "https://github.com/OCamlPro/alt-ergo/issues"

build:
[
        ["./configure" "-prefix" "%{prefix}%"]
        [make "fm-simplex"]
]

install:
[
        [make "install-fm-simplex" "MANDIR=%{man}%/man1"]
]

remove:
[
        ["rm" "%{prefix}%/lib/alt-ergo/plugins/fm-simplex-plugin.cmxs"]
]

depends: [
  "ocaml" {>= "4.01.0"}
  "zarith" {>= "1.4"}
  "camlzip"
  "ocplib-simplex" {= "0.3"}
  "alt-ergo" {= "1.30"}
]
synopsis:
  "Alt-Ergo, an SMT Solver for Software Verification: FM-Simplex Plugin"
description: """
Alt-Ergo is an automatic prover of mathematical formulas used behind software verification tools such as Frama-C, SPARK, Why3, Atelier-B and Caveat.

This package provides the FM-Simplex plugin for Alt-Ergo: an alternative to Fourier-Motzkin elimination algorithm described in [this paper](https://hal.archives-ouvertes.fr/hal-00687640).

usage: alt-ergo -inequalities-plugin fm-simplex-plugin.cmxs [other-options] <file.why>"""
flags: light-uninstall
url {
  src: "http://alt-ergo.ocamlpro.com/http/alt-ergo-1.30/alt-ergo-1.30.tar.gz"
  checksum: "md5=c7100ebd625fbd7d3e5247dbac689748"
}
