-
Notifications
You must be signed in to change notification settings - Fork 31
/
ocsigenserver.opam
68 lines (68 loc) · 1.95 KB
/
ocsigenserver.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
opam-version: "2.0"
name: "ocsigenserver"
version: "6.0.0"
maintainer: "[email protected]"
synopsis: "A full-featured and extensible Web server"
description: "Ocsigen Server is a Web Server that can be used either as a library for OCaml or as an executable (taking its configuration from a file). It has a very powerful extension mechanism that makes it very easy to plug your own OCaml modules for generating pages. Many extensions are already implemented, like a reverse proxy, content compression, access control, authentication, etc."
authors: "[email protected]"
homepage: "http://ocsigen.org/ocsigenserver/"
bug-reports: "https://github.com/ocsigen/ocsigenserver/issues/"
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
dev-repo: "git+https://github.com/ocsigen/ocsigenserver.git"
build: [
[
"sh"
"configure"
"--prefix"
"%{prefix}%"
"--ocsigen-user"
"%{user}%"
"--ocsigen-group"
"%{group}%"
"--commandpipe"
"%{lib}%/ocsigenserver/var/run/ocsigenserver_command"
"--logdir"
"%{lib}%/ocsigenserver/var/log/ocsigenserver"
"--mandir"
"%{man}%/man1"
"--docdir"
"%{lib}%/ocsigenserver/share/doc/ocsigenserver"
"--commandpipe"
"%{lib}%/ocsigenserver/var/run/ocsigenserver_command"
"--staticpagesdir"
"%{lib}%/ocsigenserver/var/www"
"--datadir"
"%{lib}%/ocsigenserver/var/lib/ocsigenserver"
"--temproot"
""
"--sysconfdir"
"%{lib}%/ocsigenserver/etc/ocsigenserver"
]
[make "-C" "src" "confs"]
["dune" "build" "-p" name "-j" jobs]
]
install:[make "install.files"]
depends: [
"ocaml" {>= "4.08.1"}
"dune" {>= "2.7"}
"ocamlfind"
"base-unix"
"base-threads"
"react"
"ssl" {>= "0.5.8"}
"lwt" {>= "3.0.0"}
"lwt_ssl"
"lwt_react"
"lwt_log"
"re" {>= "1.11.0"}
"cryptokit"
"ipaddr" {>= "2.1"}
"cohttp-lwt-unix" {>= "5.0.0" & < "6.0.0~"}
"conduit-lwt-unix" {>= "2.0.0"}
"xml-light"
"camlzip"
]
conflicts: [
"camlzip" {< "1.04"}
"pgocaml" {< "2.2"}
]