this repo has no description
1opam-version: "2.0"
2maintainer: "https://github.com/Antique-team/clangml/issues"
3authors: "Pippijn van Steenhoven"
4homepage: "https://github.com/Antique-team/clangml"
5bug-reports: "https://github.com/Antique-team/clangml/issues"
6dev-repo: "git+https://github.com/Antique-team/clangml.git"
7build: [
8 [
9 "sh"
10 "-c"
11 "test -d ${HOME}/usr/clang39 || ( wget http://llvm.org/releases/3.9.0/clang+llvm-3.9.0-x86_64-apple-darwin.tar.xz && tar -xf clang+llvm-3.9.0-x86_64-apple-darwin.tar.xz && mkdir -p ${HOME}/usr/clang39 && mv clang+llvm-3.9.0-x86_64-apple-darwin/* ${HOME}/usr/clang39 )"
12 ] {os = "macos"}
13 [make]
14]
15install: [make "install"]
16remove: [make "uninstall"]
17depends: [
18 "ocaml" {>= "4.03.0"}
19 "dolog" {< "4.0.0"}
20 "batteries"
21 "deriving"
22 "ANSITerminal"
23 "base-unix"
24 "camlp4" {build}
25 "ocamlfind" {build}
26 "ocamlbuild" {build}
27 "conf-wget" {build}
28]
29depexts: [
30 ["binutils" "boost"] {os-distribution = "arch"}
31 ["dev-libs/boost" "sys-devel/binutils" "sys-devel/binutils-libs"]
32 {os-distribution = "gentoo"}
33 [
34 "binutils-dev"
35 "clang-3.9"
36 "libboost-dev"
37 "libclang-3.9-dev"
38 "llvm-3.9-dev"
39 "libncurses-dev"
40 ] {os-family = "debian"}
41 ["boost160"] {os = "macos" & os-distribution = "homebrew"}
42]
43post-messages: [
44 "This package requires llvm-3.9, clang-3.9, boost and binutils" {failure}
45]
46synopsis: "clang OCaml bindings"
47url {
48 src: "https://github.com/Antique-team/clangml/archive/v3.9.1.tar.gz"
49 checksum: [
50 "sha256=7a452f94ca62ffcdc4803c099a8a48a66b5deb3457a766382256985f103f4902"
51 "md5=5db29afb605415bdfd2f73f3c7a0bf9f"
52 ]
53}
54extra-source "clangml.install" {
55 src:
56 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/clangml/clangml.install"
57 checksum: [
58 "sha256=79bf263146b674a605e2608e5c2aacb3a100f248ea943de167d8c0fb3631a096"
59 "md5=347541519ab211a1cf2eb1049a6125f2"
60 ]
61}