this repo has no description
1opam-version: "2.0"
2synopsis: "BER MetaOCaml (http://okmij.org/ftp/ML/MetaOCaml.html)"
3maintainer: "David Allsopp <david@tarides.com>"
4authors: [
5 "Xavier Leroy"
6 "Damien Doligez"
7 "Alain Frisch"
8 "Jacques Garrigue"
9 "Didier Rémy"
10 "Jérôme Vouillon"
11 "Oleg Kiselyov"
12]
13bug-reports: "https://github.com/ocaml/opam-repository/issues"
14dev-repo: "git+https://github.com/metaocaml/ber-metaocaml.git#ber-n100"
15homepage: "http://okmij.org/ftp/ML/MetaOCaml.html"
16depends: [
17 "ocaml" {= "4.00.1" & post}
18 "base-unix" {post}
19 "base-bigarray" {post}
20 "base-threads" {post}
21 "base-ocamlbuild" {post}
22]
23conflict-class: "ocaml-core-compiler"
24flags: compiler
25setenv: CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"
26build: [
27 [
28 "sed"
29 "-ib"
30 "-e"
31 "s/opts=\"\"/opts=\"-Wno-implicit-function-declaration\"/"
32 "config/auto-aux/hasgot"
33 ] {os = "macos"}
34 ["./configure" "-prefix" prefix "-no-tk"]
35 {os != "openbsd" & os != "freebsd" & os != "macos"}
36 ["./configure" "-prefix" prefix "-no-tk" "-cc" "cc" "-aspp" "cc -c"]
37 {os = "openbsd" | os = "freebsd" | os = "macos"}
38 [make "-C" "metalib" "patch"]
39 [make "core"]
40 [make "coreboot"]
41 [make "all"]
42]
43install: [
44 [make "-i" "install"]
45 [make "-C" "metalib" "all"]
46 [make "-C" "metalib" "install"]
47]
48url {
49 src: "https://github.com/metaocaml/ber-metaocaml/archive/ber-N100.tar.gz"
50 checksum: [
51 "sha256=716872746a56971213f3b166c997a8a128bea7898e19e404fab8cb97a89cbc97"
52 "md5=5bfe2ec41fdfb2d467f56d47e2f70b94"
53 ]
54}
55available: !(os = "macos" & arch = "arm64")
56patches: ["alt-signal-stack.patch"]
57extra-source "alt-signal-stack.patch" {
58 src: "https://github.com/ocaml/ocaml/commit/60b0cdaf2519d881947af4175ac4c6ff68901be3.patch?full_index=1"
59 checksum: "sha256=bb0e0e736ecc55c9f8cd8f74ca00a920bfe46e4200b82c5a45da952053b374da"
60}