-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathocsigenserver.opam
67 lines (67 loc) · 2 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
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "6.0.0"
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."
maintainer: ["Ocsigen team <[email protected]>"]
authors: ["Ocsigen team <[email protected]>"]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "http://ocsigen.org/ocsigenserver"
bug-reports: "https://github.com/ocsigen/ocsigenserver/issues"
depends: [
"dune" {>= "3.17"}
"ocaml" {>= "4.08.1"}
"camlzip" {>= "1.04"}
"cohttp-lwt-unix" {>= "5.0" & < "6.0"}
"conduit-lwt-unix" {>= "2.0" & < "7.0"}
"cryptokit"
"ipaddr" {>= "2.1"}
"lwt" {>= "3.0"}
"lwt_log"
"lwt_react"
"lwt_ssl"
"ocamlfind"
"re" {>= "1.11"}
"react"
"ssl" {>= "0.5.8"}
"xml-light"
"odoc" {with-doc}
]
conflicts: [
"pgocaml" {< "2.2"}
]
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"]