opam-version: "2.0"
maintainer: "dev@clarus.me"
authors: "The Coq development team, INRIA, CNRS, University Paris Sud, University Paris 7, Ecole Polytechnique."
homepage: "http://coq.inria.fr/"
bug-reports: "https://coq.inria.fr/bugs/"
dev-repo: "git+https://github.com/coq/coq.git"
license: "LGPL-2.0-only"
depopts: [
  "coq-native"
]
build: [
  [
    "./configure"
    "-configdir" "%{lib}%/coq/config"
    "-mandir" man
    "-prefix" prefix
    "-usecamlp5"
    "-camlp5dir" "%{camlp5:lib}%"
    "-coqide" "no"
    "-debug"
    "-native-compiler" "yes" {coq-native:installed} "no" {!coq-native:installed}
  ]
  [make "-j%{jobs}%"]
]
remove: ["rm" "-R" "%{lib}%/coq"]
depends: [
  "ocaml" {< "4.06.0"}
  "camlp5" {< "8"}
  "num"
  "conf-findutils" {build}
]
patches: ["ephemeron-rename.patch"]
install: [make "install"]
synopsis: "Formal proof management system"
flags: light-uninstall
extra-files: [
  ["ephemeron-rename.patch" "md5=9fa070d977a9f672ef1909babb5a4776"]
  ["coq.install" "md5=26c6de669a7d377c2be8592c4e3c0260"]
]
url {
  src: "https://github.com/coq/coq/archive/V8.5.tar.gz"
  checksum: "md5=8ee5081f50277c531a0467299ee8c02d"
}
