-
Notifications
You must be signed in to change notification settings - Fork 4
/
ocp-autoconf.config
167 lines (134 loc) · 4.87 KB
/
ocp-autoconf.config
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
(*************************************)
(* Never edit options files while *)
(* the program is running *)
(*************************************)
(* SECTION : Header *)
(* These options must be read first *)
(*************************************)
(* [project_name]: Project Name *)
project_name = "opam-builder"
(* [project_version]: Project Version *)
project_version = "2.0"
(* [manage_files]: Files managed by ocp-autoconf in this project. *)
(* Note that 'autoconf' here means the *directory* autoconf, i.e. all files *)
(* in that directory. *)
manage_files = [
"autoconf/travis-ci.sh";
"autoconf/travis-install.sh";
configure;
"build.ocp";
Makefile;
".gitignore";
"push-opam.sh";
opam;
".travis.yml";
autoconf;
]
(* [project_copyright]: Project Copyright *)
project_copyright = "Copyright 2016"
(* [ocaml_minimal_version]: Minimal version of OCaml *)
ocaml_minimal_version = "3.12.1"
(* [ocaml_unsupported_version]: Version of OCaml not yet supported *)
ocaml_unsupported_version = ""
(* [need_packages]: Packages (ocamlfind) needed by the project. *)
(* They can be specified as a list with items of the forms: *)
(* * "findlib" *)
(* * ("findlib", "version") *)
(* * { name="findlib" version="version" opam="package" } *)
(* The later form can be used to specify a different opam package name. *)
need_packages = [
jsonm;
("ocp-build", "1.99.19-beta");
"dose3";
]
(* [need_tools]: Tools needed by the project. Tested by ./configure. *)
need_tools = [
"ocp-build";
]
(* [optional_packages]: ocamlfind packages that could be used by the project *)
optional_packages = [
]
(* [need_modules]: Modules needed by the project *)
need_modules = [
]
(* [extra_config_files]: Extra files to be substituted. *)
(* Their paths should be related to the autoconf/ subdirectory. *)
extra_config_files = [
]
(* [extra_m4_files]: Extra m4 files to be added. *)
(* They will be copied in autoconf/m4/. *)
extra_m4_files = [
]
(* [extra_config_vars]: Extra variables to be substituted. *)
(* These variables will appear directly in autoconf/Makefile.config, *)
(* and as conf_xxx variables in autoconf/config.ocpgen, where xxx is *)
(* their lowercase translation. *)
extra_config_vars = [
]
(* [extra_bool_vars]: Extra variables to be substituted as boolean. Same as *)
(* extra_config_vars, but they will appear as booleans in *)
(* autoconf/config.ocpgen *)
extra_bool_vars = [
]
(* [need_ocamllex]: Does the project need ocamllex *)
need_ocamllex = false
(* [need_ocamlyacc]: Does the project need ocamlyacc *)
need_ocamlyacc = false
(* [opam_fields]: Fields of the 'opam' file to generate. *)
(* (other ones should come from the 'opam.trailer' file). *)
opam_fields = [
"opam-version";
build;
install;
remove;
depends;
available;
maintainer;
authors;
homepage;
"dev-repo";
"bug-reports";
]
(* [opam_maintainer]: Maintainer of the OPAM package *)
opam_maintainer = "Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>"
(* [authors]: Authors *)
authors = [
"Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>";
]
(* [homepage]: URL of project homepage *)
homepage = "http://opam.ocamlpro.com/builder"
(* [github_project]: Name of the project on Github (Organization/Project). *)
(* Other fields can be inferred from this if left empty *)
github_project = "OCamlPro/opam-builder"
(* [dev_repo]: URL of public development repository. *)
(* If github_project is specified, the value is automatically inferred. *)
dev_repo = ""
(* [download_url_prefix]: Prefix of the download URL. *)
(* The download URL should be: *)
(* ${download_url_prefix}${package_version}.tar.gz. *)
(* If github_project is specified, the value is automatically inferred. *)
download_url_prefix = ""
(* [bug_reports]: URL where bug reports should be issued. *)
(* If github_project is specified, the value is automatically inferred. *)
bug_reports = ""
(* [opam_configure_line]: Line to appear in opam build instructions *)
opam_configure_line = [
"./configure";
"--prefix";
"%{prefix}%";
"--with-ocamldir=%{prefix}%/lib";
"--with-metadir=%{prefix}%/lib";
]
(* [opam_remove_commands]: Commands to call on OPAM remove *)
opam_remove_commands = [
]
(* [install_packages]: ocp-build packages to install and uninstall. *)
install_packages = [
]
(* [format_version]: Version of the format of this file *)
format_version = 5
(* [travis_versions]: Versions of OCaml to build on Travis. *)
travis_versions = [
"4.03.0";
"4.04.1";
]