opam-version: "1.2.0"
name: "frama-c"
version: "20150201"
maintainer: "francois.bobot@cea.fr"
authors: [
  "Patrick Baudin"
  "François Bobot"
  "Richard Bonichon"
  "Loïc Correnson"
  "Pascal Cuoq"
  "Zaynah Dargaye"
  "Jean-Christophe Filliâtre"
  "Philippe Herrmann"
  "Florent Kirchner"
  "Matthieu Lemerre"
  "Claude Marché"
  "Benjamin Monate"
  "Yannick Moy"
  "Anne Pacalet"
  "Virgile Prevosto"
  "Julien Signoles"
  "Boris Yakobowski"
]
homepage: "http://frama-c.com/"
license: "GNU Lesser General Public License version 2.1"
doc: ["http://frama-c.com/download/user-manual-Sodium-20150201.pdf"]
bug-reports: "https://bts.frama-c.com/"
tags: [
  "deductive"
  "program verification"
  "formal specification"
  "automated theorem prover"
  "interactive theorem prover"
  "C"
  "plugins"
  "abstract interpretation"
  "slicing"
  "weakest precondition"
  "ACSL"
  "dataflow analysis"
]

build: [
  ["ocaml" "run_autoconf_if_needed.ml"] #when used in pinned mode the configure *can* not yet be generated
  ["./configure" "--prefix" prefix]
  [make]
  [make "install"]
]

remove: [
  ["ocaml" "run_autoconf_if_needed.ml"] #when used in pinned mode the configure *can* not yet be generated
  ["./configure" "--prefix" prefix]
  [make "uninstall"]
  ["rm" "-rf" frama-c:doc]
]

build-doc: [
   [make "-C" "doc" "download"]
   [make "-C" "doc" "FRAMAC_DOCDIR=%{frama-c:doc}%" "install"]
]

build-test: [
  [make "PTESTS_OPTS=-error-code" "tests"]
]

depends: [
  "ocamlgraph" { = "1.8.5" | = "1.8.6" }
  "lablgtk" { >= "2.18.2" } #for ocaml >= 4.02.1
  "conf-gtksourceview"
  "conf-gnomecanvas"
]

conflicts: [
  "why3" { < "0.85" }
]

available: [ ocaml-version >= "3.12" & ocaml-version != "4.02.0" ]
