-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
85 lines (81 loc) · 2.86 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
opam-version: "2.0"
maintainer: "Sylvain Le Gall <sylvain+ocaml@le-gall.net>"
authors: [ "Sylvain Le Gall" ]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "http://oasis.forge.ocamlcore.org/"
dev-repo: "git+https://github.com/gildor478/oasis.git"
bug-reports: "http://oasis.forge.ocamlcore.org/"
build: [
[
"ocaml"
"setup.ml"
"-configure"
"--prefix"
prefix
"--%{gettext:enable}%-gettext"
]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
# If _oasis_remove_.ml is not present, this is an old installation
# and one needs to perform the removal "manually". The next version of
# the package will use the first method only.
["/bin/sh" "-c" "if [ -e '%{etc}%/oasis/_oasis_remove_.ml' ]; then ocaml '%{etc}%/oasis/_oasis_remove_.ml' '%{etc}%/oasis'; else ocamlfind remove plugin-loader; ocamlfind remove userconf; ocamlfind remove oasis; rm '%{bin}%/oasis'; fi"]
]
depends: [
"ocaml" {>= "3.12.1" & < "4.06.0"}
"base-unix"
"ocaml-data-notation" {>= "0.0.11"}
"ocamlfind" {build & >= "1.3.1"}
"ocamlify" {build}
"ocamlmod" {build}
"ocamlbuild"
]
depopts: ["gettext"]
conflicts: [
"oasis-mirage" {= "0.3.0a"}
"oasis-mirage" {= "0.3.0"}
]
synopsis: "Architecture 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.
It uses external tools like OCamlbuild and it can be considered as the
glue between various subsystems that do the job. It should support the
following tools:
* OCamlbuild
* OMake (todo)
* 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 GODI."""
url {
src: "https://download.ocamlcore.org/oasis/oasis/0.4.6/oasis-0.4.6.tar.gz"
checksum: [
"sha256=1324becb9fbc181f7276936339f62db224d166f01e50ea19f8f62037271bbbfb"
"md5=d939fc5cb9c914965051f7453fee4a81"
]
}
extra-source "oasis.install" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/oasis/oasis.install.0.4.6"
checksum: [
"sha256=5b010bcd931b45da20d8004cb55ee72cc8193b8b0fe12070896fbdb73a00517b"
"md5=0d1b822c897681cf54b3e1aed52dda99"
]
}
extra-source "_oasis_remove_.ml" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/oasis/_oasis_remove_.ml"
checksum: [
"sha256=30bd6759edf0096e5353751a0603eaf693cb60ea7485aa9418e257dfdb97d916"
"md5=6100ca146fa97d2196eb49a2631d0796"
]
}