opam-version: "2.0"
maintainer: "Guillaume.Melquiond@inria.fr"
authors: [
  "François Bobot"
  "Jean-Christophe Filliâtre"
  "Claude Marché"
  "Guillaume Melquiond"
  "Andrei Paskevich"
]
homepage: "http://why3.lri.fr/"
license: "LGPL-2.1-only"
doc: ["http://why3.lri.fr/#documentation"]
tags: [
  "deductive"
  "program verification"
  "formal specification"
  "automated theorem prover"
  "interactive theorem prover"
]
build: [
  [
    "./configure"
    "--prefix"
    prefix
    "--disable-frama-c"
    "--disable-ide" {!conf-gtksourceview:installed}
  ]
  [make "opt" "byte"]
  [make "doc" "stdlibdoc" "apidoc"] {with-doc}
]
depends: [
  "ocaml" {>= "4.01.0" & < "4.06.0"}
  "ocamlfind"
  "menhir" {<= "20141015"}
  "num"
]
depopts: [
  "lablgtk"
  "conf-gtksourceview"
  "zarith"
  "camlzip"
  "ocamlgraph"
  "coq"
]

conflicts: [
  "lablgtk" {< "2.14.2"}
  "ocamlgraph" {< "1.8.2"}
  "coq" {< "8.4"}
  "coq" {>= "8.5"}
]
install: [
  [make "install" "install-lib"]
  [make "DOCDIR=%{doc}%/why3" "install-doc"] {with-doc}
]
synopsis: "Why3 environment for deductive program verification (base)"
description: """
This package is for advanced users only, normal users should use the
full why3 package."""
url {
  src:
    "https://gforge.inria.fr/frs/download.php/file/35214/why3-0.86.2.tar.gz"
  checksum: "md5=ef0f4c133fc0da25a6b90adefddefa9a"
}
