this repo has no description
1opam-version: "2.0"
2authors: "Gerd Stolpmann"
3maintainer: "gerd@gerd-stolpmann.de"
4homepage: "http://projects.camlcity.org/projects/ocamlnet.html"
5license: ["zlib-acknowledgement" "BSD-3-Clause" "GPL-2.0-only"]
6doc: "http://projects.camlcity.org/projects/dl/ocamlnet-4.1.8/doc/html-main/index.html"
7bug-reports: "https://gitlab.com/gerdstolpmann/lib-ocamlnet3/-/issues"
8dev-repo: "git+https://gitlab.com/gerdstolpmann/lib-ocamlnet3.git"
9build: [
10 [
11 "./configure"
12 "-bindir"
13 bin
14 "-%{conf-gssapi:enable}%-gssapi"
15 "-%{conf-gnutls:enable}%-gnutls"
16 "-%{pcre:enable}%-pcre"
17 "-%{lablgtk:enable}%-gtk2"
18 "-%{camlzip:enable}%-zip"
19 "-with-nethttpd"
20 ]
21 [make "all"]
22 [make "opt"]
23]
24depends: [
25 "ocaml" {>= "4.02" & < "5"}
26 "ocaml" {os = "macos" & < "4.12"}
27 "ocamlfind"
28 "ocamlbuild" {build}
29 "base-bytes"
30]
31depopts: [
32 "conf-gnutls"
33 "conf-gssapi"
34 "lablgtk"
35 "pcre"
36 "camlzip"
37]
38install: [make "install"]
39synopsis:
40 "Internet protocols (HTTP, CGI, e-mail etc.) and helper data structures"
41description: """
42(mail messages, character sets, etc.)
43
44Ocamlnet is an enhanced system platform library for Ocaml. As the name
45suggests, large parts of it have to do with network programming, but
46it is actually not restricted to this. Other parts deal with the
47management of multiple worker processes, and the interaction with
48other programs running on the same machine. You can also view Ocamlnet
49as an extension of the system interface as provided by the Unix module
50of the standard library."""
51conflicts: [
52 "ocaml-variants"
53 {= "4.04.0+flambda" | = "4.04.1+flambda" | = "4.04.2+flambda"}
54 "shell"
55 "base-domains"
56]
57url {
58 src: "http://download.camlcity.org/download/ocamlnet-4.1.8.tar.gz"
59 checksum: [
60 "sha256=d53a2f1612e41e65240e5f50dafb76bf6821a319b1c8699ddb366d8d651de0f4"
61 "md5=0a76da5734e1861175f575c4e4ed3896"
62 ]
63 mirrors: "http://download2.camlcity.org/download/ocamlnet-4.1.8.tar.gz"
64}
65extra-source "ocamlnet.install" {
66 src:
67 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocamlnet/ocamlnet.install"
68 checksum: [
69 "sha256=8670b7452ef00ffc6609da81266e3c956297a35ed91421fed36bc9323e10f5b7"
70 "md5=ed54a9f3d6382ccc01ea1cf1af8f2c38"
71 ]
72}