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 "satML"]
]

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

remove:
[
        ["rm" "%{prefix}%/lib/alt-ergo/plugins/satML-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: satML 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 satML plugin for Alt-Ergo: an alternative SAT solver based on miniSAT.

usage: alt-ergo -sat-plugin satML-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"
}
