opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
build: [
  [
    "./configure"
    "--prefix"
    prefix
    "--sbindir=%{lib}%/why3/sbin"
    "--libexecdir=%{lib}%/why3/libexec"
    "--sysconfdir=%{lib}%/why3/etc"
    "--sharedstatedir=%{lib}%/why3/com"
    "--localstatedir=%{lib}%/why3/var"
    "--libdir=%{lib}%/why3/lib"
    "--includedir=%{lib}%/why3/include"
    "--datarootdir=%{lib}%/why3/share"
  ]
  [make]
]
depends: [
  "ocaml" {< "4.06.0"}
  "ocamlgraph" {= "1.8.2"}
  "coq" {= "8.3"}
  "alt-ergo"
  "sqlite3"
]
depopts: ["lablgtk"]
patches: ["opam.patch"]
install: [make "install"]
synopsis: "Next generation of the Why software verification platform"
description: """
Why3 clearly separates the purely logical specification part from
generation of verification conditions for programs. It features a rich
library of proof task transformations that can be chained to produce a
suitable input for a large set of theorem provers, including SMT
solvers, TPTP provers, as well as interactive proof assistants."""
extra-files: [
  ["why3.install" "md5=1b5032c450a392566af9c7cc396a2993"]
  ["opam.patch" "md5=951120d9ef9872fab8259f545f811b9b"]
]
url {
  src: "https://gforge.inria.fr/frs/download.php/31257/why3-0.73.tar.gz"
  checksum: "md5=8994f147b7fc4084da46e81693e044bb"
}
