-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathopam
66 lines (64 loc) · 1.73 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
opam-version: "1.2"
maintainer: "[email protected]"
authors: ["Gabriel Radanne <[email protected]>"]
homepage: "https://github.com/Drup/LILiS"
bug-reports: "https://github.com/Drup/LILiS/issues"
dev-repo: "https://github.com/Drup/LILiS.git"
doc: "https://drup.github.io/LILiS/dev/"
license: "MIT"
tags: [ "lsystem" "grammar" "graphics" "logo" ]
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix
"--%{gen:enable}%-gen"
"--%{batteries:enable}%-batteries"
"--%{cfstream:enable}%-cfstream"
"--%{core_kernel:enable}%-core-kernel"
"--%{cairo2:enable}%-cairo" {"%{lablgtk:installed}%"}
"--%{tyxml:enable}%-tyxml"
"--%{js_of_ocaml:enable}%-js-of-ocaml"
"--%{cmdliner:enable}%-executable"]
["ocaml" "setup.ml" "-build"]
]
install: ["ocaml" "setup.ml" "-install"]
build-doc: ["ocaml" "setup.ml" "-doc"]
build-test: [
["ocaml" "setup.ml" "-configure" "--enable-tests"]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-test"]
]
remove: [
["ocamlfind" "remove" "calc"]
["ocamlfind" "remove" "lilis"]
["ocamlfind" "remove" "glilis"]
]
available: [ocaml-version >= "4.01.0"]
depends: [
"ocamlfind" {build}
"cppo" {build & >= "0.9.4"}
"menhir"
"containers" { >= "0.7" }
"sequence"
# Remove oasis for the package
"oasis" {build}
]
depopts: [
"gen"
"batteries"
"cfstream"
"core_kernel"
"cairo2"
"lablgtk"
"tyxml"
"js_of_ocaml"
"cmdliner"
]
conflicts: [
"core_kernel" {< "111.13.00"}
"tyxml" {< "3.0.0"}
"js_of_ocaml" {< "2.1"}
]
messages: [
"To build and install the graphical front-end glilis, you should install cairo2 lablgtk and cmdliner"
{!cairo2:installed | !lablgtk:installed | !cmdliner:installed}
"To enable the svg output, you should install tyxml" {!tyxml:installed}
]