forked from ocaml/opam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
opam-devel.opam
46 lines (46 loc) · 1.27 KB
/
opam-devel.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
opam-version: "1.2"
name: "opam-test-beta"
version: "1.3.0~dev"
maintainer: "[email protected]"
authors: [
"Thomas Gazagnaire <[email protected]>"
"Louis Gesbert <[email protected]>"
]
homepage: "https://opam.ocaml.org"
bug-reports: "https://github.com/ocaml/opam/issues"
dev-repo: "https://github.com/ocaml/opam"
build: [
["./configure"]
[make "opam"]
]
install: [
["sh" "-c" "echo \"%{version}%\" > \"%{root}%/opam.version\""]
["install" "--backup" "-m" "755" "src/opam" "%{root}%/opam"]
]
remove: ["rm" "-f" "%{root}%/opam" "%{root}%/opam.version"]
depends: [
"ocamlgraph"
"cmdliner"
"dose" {>= "3.3"}
"cudf"
"re" {>= "1.2.0"}
"ocamlfind"
"jsonm"
]
# Restrict self-upgrade to "official" versions, just in case
available: [
opam-version >= "1.2" &
(compiler = "3.12.1" |
compiler = "4.00.0" |
compiler = "4.00.1" |
compiler = "4.01.0" |
compiler = "4.02.0" |
compiler = "4.02.1" |
(compiler = "system" & ocaml-version >= "3.12.1" & ocaml-version <= "4.02.0"))
]
post-messages: [ "
IMPORTANT: The new version of OPAM has been installed to %{root}%, and it will \
be used by default for ALL switches. In case of trouble, use `--no-self-upgrade' \
to bypass, or remove `opam' and `opam-version' from %{root}% to revert.
" {success}
]