-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
69 lines (68 loc) · 1.81 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
opam-version: "2.0"
maintainer: "coqdev@inria.fr"
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"
depends: [
"ocaml" {>= "4.02.3" & < "4.10"}
"ocamlfind" {build}
"camlp5" {< "8"}
"num"
"conf-findutils" {build}
]
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" "-rf" "%{lib}%/coq" "%{share}%/coq"]
["rm" "-f"
"%{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"
]
]
synopsis: "Formal proof management system"
flags: light-uninstall
extra-files: ["coq.install" "md5=6e8ff2905b5508b143a8acb16e3b5150"]
url {
src: "https://github.com/coq/coq/archive/V8.8.0.tar.gz"
checksum: "md5=9c97bb78eb051178d8b3731ae042c73f"
}