this repo has no description
1opam-version: "2.0"
2synopsis: "4.01.0 release compiled with lsbcc"
3description: """
4Requires the Linux Standard Base SDK installed in /opt/lsb:
5http://www.linuxfoundation.org/collaborate/workgroups/lsb/download"""
6maintainer: "David Allsopp <david@tarides.com>"
7depends: [
8 "ocaml" {= "4.01.0" & post}
9 "base-unix" {post}
10 "base-bigarray" {post}
11 "base-threads" {post}
12 "base-ocamlbuild" {post}
13]
14conflict-class: "ocaml-core-compiler"
15flags: compiler
16setenv: [
17 [LSBCC_LSBVERSION = "4.0"]
18 [LSBCC_BESTEFFORT = "1"]
19 [CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"]
20]
21build: [
22 [
23 "sed"
24 "-ib"
25 "-e"
26 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
27 "config/auto-aux/hasgot"
28 ] {os = "macos"}
29 ["sed" "-i" "-e" "s/lcurses/lncurses/" "configure"]
30 [
31 "sed"
32 "-i"
33 "-e"
34 "s/typedef greg_t context_reg;/#include <ucontext.h>\\ntypedef greg_t context_reg;/"
35 "asmrun/signals_osdep.h"
36 ]
37 [
38 "./configure"
39 "-prefix"
40 prefix
41 "-with-debug-runtime"
42 "-cc"
43 "/opt/lsb/bin/lsbcc"
44 "-aspp"
45 "/opt/lsb/bin/lsbcc -c"
46 "-no-shared-libs"
47 ] {os != "openbsd" & os != "freebsd" & os != "macos"}
48 [
49 "./configure"
50 "-prefix"
51 prefix
52 "-with-debug-runtime"
53 "-cc"
54 "/opt/lsb/bin/lsbcc"
55 "-aspp"
56 "/opt/lsb/bin/lsbcc -c"
57 "-no-shared-libs"
58 "-cc"
59 "cc"
60 "-aspp"
61 "cc -c"
62 ] {os = "openbsd" | os = "freebsd" | os = "macos"}
63 [make "world.opt"]
64]
65install: [make "install"]
66url {
67 src: "http://caml.inria.fr/pub/distrib/ocaml-4.01/ocaml-4.01.0.tar.gz"
68 checksum: [
69 "sha256=ea1751deff454f5c738d10d8a0ad135afee0852d391cf95766b726c0faf7cfdb"
70 "md5=04dfdd7da189462a4f10ec6530359cef"
71 ]
72}
73available: !(os = "macos" & arch = "arm64")
74license: "LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
75authors: [
76 "Xavier Leroy"
77 "Damien Doligez"
78 "Alain Frisch"
79 "Jacques Garrigue"
80 "Didier Rémy"
81 "Jérôme Vouillon"
82]
83bug-reports: "https://github.com/ocaml/opam-repository/issues"
84homepage: "https://ocaml.org"
85dev-repo: "git+https://github.com/ocaml/ocaml.git#4.01"
86patches: ["alt-signal-stack.patch"]
87extra-source "alt-signal-stack.patch" {
88 src: "https://github.com/ocaml/ocaml/commit/d111407bf4ff71171598d30825c8e59ed5f75fd6.patch?full_index=1"
89 checksum: "sha256=cadeb58478a5ca998fdfa54dc99fbb31235a0ce7689a740338a8fdb391e9b436"
90}