opam-version: "2.0" maintainer: "Ralf Jung " authors: "The Coq development team, INRIA, CNRS, University Paris Sud, University Paris 7, Ecole Polytechnique." homepage: "https://coq.inria.fr/" bug-reports: "https://github.com/coq/coq/issues" dev-repo: "git+https://github.com/coq/coq.git" license: "LGPL-2.1-only" depopts: [ "coq-native" ] build: [ [ "./configure" "-configdir" "%{lib}%/coq/config" "-prefix" prefix "-mandir" man "-docdir" doc "-libdir" "%{lib}%/coq" "-datadir" "%{share}%/coq" "-camlp5dir" "%{camlp5:lib}%" "-coqide" "no" "-native-compiler" "yes" {coq-native:installed} "no" {!coq-native:installed} ] [make "-j%{jobs}%"] [make "-j%{jobs}%" "byte"] ] install: [ [make "install"] [make "install-byte"] ] remove: [ ["rm" "-R" "%{lib}%/coq" "%{share}%/coq"] ["rm" "%{man}%/man1/coqc.1" "%{man}%/man1/coqchk.1" "%{man}%/man1/coqdep.1" "%{man}%/man1/coqdoc.1" "%{man}%/man1/coqide.1" "%{man}%/man1/coq_makefile.1" "%{man}%/man1/coqmktop.1" "%{man}%/man1/coq-tex.1" "%{man}%/man1/coqtop.1" "%{man}%/man1/coqtop.byte.1" "%{man}%/man1/coqtop.opt.1" "%{man}%/man1/coqwc.1" "%{man}%/man1/gallina.1" "%{share}%/texmf/tex/latex/misc/coqdoc.sty" "%{share}%/emacs/site-lisp/coq-font-lock.el" "%{share}%/emacs/site-lisp/coq-inferior.el" "%{share}%/emacs/site-lisp/gallina-db.el" "%{share}%/emacs/site-lisp/gallina.el" "%{share}%/emacs/site-lisp/gallina-syntax.el" ] ] depends: [ "ocaml" {>= "4.02.3" & < "4.10"} "ocamlfind" {build} "camlp5" {< "8"} "num" "conf-findutils" {build} ] synopsis: "Formal proof management system" flags: light-uninstall url { src: "https://github.com/coq/coq/releases/download/V8.7.1/coq-8.7.1.tar.gz" checksum: [ "sha256=d381b38522cee0e73804ee3a763648f602eda942312c18d333f9567c56dbfd03" "md5=15347f45471e2d5277c60585297cd3e0" ] } extra-source "coq.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/coq/coq.install.8.7.1" checksum: [ "sha256=572ff0cb71d3bfba10a84952f4594733ee0c120c40f25df5cd0ddf708b55f3c6" "md5=b85e0eb533d6836c15581f0e5cb0ebc2" ] }