opam-version: "2.0"
maintainer: "Claude.Marche@inria.fr"
authors: [
  "Jean-Christophe Filliâtre"
  "Claude Marché"
  "Yannick Moy"
  "Romain Bardou"
]
homepage: "http://krakatoa.lri.fr/"
doc: ["http://krakatoa.lri.fr/"]
# dev-repo: "https://guest:guest@www.lri.fr/svn/demons/why2/trunk/"
bug-reports: "https://gforge.inria.fr/tracker/?atid=4012&group_id=999&func=browse"
substs: ["opam.patch"]
build: [
  ["autoconf"]
  [
    "./configure"
    "--enable-verbosemake"
    "OCAMLGRAPHLIB=%{lib}%/ocamlgraph"
    "--prefix"
    prefix
    "--sbindir=%{lib}%/why/sbin"
    "--libexecdir=%{lib}%/why/libexec"
    "--sysconfdir=%{lib}%/why/etc"
    "--sharedstatedir=%{lib}%/why/com"
    "--localstatedir=%{lib}%/why/var"
    "--libdir=%{lib}%/why/lib"
    "--includedir=%{lib}%/why/include"
    "--datarootdir=%{lib}%/why/share"
  ]
  [make]
]
depends: [
  "ocaml" {< "4.00.0"}
  "lablgtk" {<= "2.16.0"}
  "ocamlgraph" {= "1.8.2"}
  "coq" {= "8.3"}
  "frama-c"
  "conf-autoconf"
]
patches: [
  "opam.patch"
  "warn-error.patch"
]
install: [make "install"]
synopsis: "Why is a software verification platform."
description: """
Why is not any longer under active development. Our efforts have moved
to the development of Why3.

Why is still maintained, in particular to provide the Jessie plug-in
of Frama-C and the Krakatoa front-end for Java."""
extra-files: [
  ["why.install" "md5=b0739d72861b5701a4f93444489aa0eb"]
  ["warn-error.patch" "md5=2686e176f48ec00aa9d76dc6743f2886"]
  ["opam.patch.in" "md5=892a95f565fe18b15eb03e6f2bc6a1e7"]
]
url {
  src: "http://why.lri.fr/download/why-2.31.tar.gz"
  checksum: "md5=d647f64049345be5654f8f3fdb077aa4"
}
