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

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

install:
[
	[make "install" "MANDIR=%{man}%"]
]

remove:
[
	["rm" "%{prefix}%/bin/alt-ergo"]
	["rm" "%{man}%/man1/alt-ergo.1"]
]

depends: [
  "ocaml" {>= "4.01.0"}
  "zarith" {>= "1.4"}
  "camlzip" {< "1.08"}
  "ocplib-simplex" {= "0.3"}
  "num"
]
synopsis: "Alt-Ergo, an SMT Solver for Software Verification"
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 command-line version of Alt-Ergo.

usage: alt-ergo [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"
}
