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

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

remove:
[
	["rm" "%{prefix}%/bin/altgr-ergo"]
	["rm" "%{share}%/alt-ergo/gtksourceview-2.0/language-specs/alt-ergo.lang"]
]

depends: [
  "ocaml" {>= "4.01.0"}
  "zarith" {>= "1.4"}
  "lablgtk"
  "camlzip" {< "1.08"}
  "ocplib-simplex" {= "0.3"}
  "conf-gtksourceview" {= "2"}
  "num"
]
synopsis:
  "Alt-Ergo, an SMT Solver for Software Verification: Graphical Interface"
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 Alt-Ergo's graphical interface.

usage: altgr-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"
}
