/
opam
51 lines (48 loc) · 1.5 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
opam-version: "2.0"
maintainer: "coqdev@inria.fr"
authors: "The Coq development team, INRIA, CNRS, and contributors."
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"
synopsis: "IDE of the Coq formal proof management system"
description: """
CoqIDE is a graphical user interface for interactive development
of mathematical definitions, executable algorithms, and proofs of theorems
using the Coq proof assistant.
"""
depends: [
"coq" {= version}
"ocamlfind" {build}
"conf-findutils" {build}
"lablgtk3-sourceview3"
"conf-adwaita-icon-theme"
]
build: [
[
"./configure"
"-configdir" "%{lib}%/coq/config"
"-prefix" prefix
"-mandir" man
"-docdir" doc
"-libdir" "%{lib}%/coq"
"-datadir" "%{share}%/coq"
"-native-compiler" {os = "macos"} "no" {os = "macos"}
]
[make "COQ_USE_DUNE=" "-j%{jobs}%" "coqide-files"]
[make "COQ_USE_DUNE=" "-j%{jobs}%" "coqide-opt"]
]
install: [
make "COQ_USE_DUNE="
"install-ide-bin"
"install-ide-files"
"install-ide-info"
"install-ide-devfiles"
]
extra-files: [
["coqide.install" "sha512=0c59f0c3cf3453e92c02b29aceb31090020410d2b0dd2856172cd19b1b2b58b2a1d46047fb08a9c1d4767d87934c73ae6adfcb4204b1ea6a55a85ba75b2b812d"]
]
url {
src: "https://github.com/coq/coq/archive/V8.12.2.tar.gz"
checksum: "sha512=6b524edbceb5795f04bbd2b52f191bfcf10b611f7a2fa0450c30b72c944f88418d261729476b64603faacfe2be5f7992a2997541e54e6f8691d4dc8b4969198d"
}