-
Notifications
You must be signed in to change notification settings - Fork 45
/
oasis.opam
60 lines (56 loc) · 1.93 KB
/
oasis.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
opam-version: "2.0"
maintainer: "Sylvain Le Gall <[email protected]>"
authors: [ "Sylvain Le Gall" ]
license: "LGPL-2.1 with OCaml linking exception"
homepage: "http://github.com/ocaml/oasis"
dev-repo: "git://github.com/ocaml/oasis.git"
bug-reports: "https://github.com/ocaml/oasis/issues"
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
["ocaml" "%{etc}%/oasis/setup.ml" "-C" "%{etc}%/oasis" "-uninstall"]
]
depends: [
"ocaml" {>= "3.12.1"}
"base-unix"
"ocamlbuild"
"ocamlfind" {build & >= "1.3.1"}
"ocamlify" {build}
"ocamlmod" {build}
"ounit" {with-test & >= "2.0.0"}
"fileutils" {with-test & >= "0.6.1"}
"expect" {with-test & >= "0.0.4"}
]
depopts: [
"benchmark"
]
conflicts: [
"benchmark" {< "1.2"}
"oasis-mirage" {= "0.3.0"}
"oasis-mirage" {= "0.3.0a"}
]
synopsis: "Tooling for building OCaml libraries and applications"
description: """
OASIS generates a full configure, build and install system for your
application. It starts with a simple `_oasis` file at the toplevel of
your project and creates everything required.
OASIS leverages existing OCaml tooling to perform most of it's work.
In fact, it might be more appropriate to think of it as simply the
glue that binds these other subsystems together and coordinates the
work that they do. It should support the following tools:
* OCamlbuild
* OMake
* OCamlMakefile (todo),
* ocaml-autoconf (todo)
It also features a do-it-yourself command line invocation and an
internal configure/install scheme. Libraries are managed through
findlib. It has been tested on GNU Linux and Windows.
It also allows to have standard entry points and description. It helps
to integrates your libraries and software with third parties tools
like OPAM."""