opam-version: "2.0" maintainer: "https://github.com/Antique-team/clangml/issues" authors: "Pippijn van Steenhoven" homepage: "https://github.com/Antique-team/clangml" bug-reports: "https://github.com/Antique-team/clangml/issues" dev-repo: "git+https://github.com/Antique-team/clangml.git" build: [ [ "sh" "-c" "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 )" ] {os = "macos"} [make] ] install: [make "install"] remove: [make "uninstall"] depends: [ "ocaml" {>= "4.03.0"} "dolog" {< "4.0.0"} "batteries" "deriving" "ANSITerminal" "base-unix" "camlp4" {build} "ocamlfind" {build} "ocamlbuild" {build} "conf-wget" {build} ] depexts: [ ["binutils" "boost"] {os-distribution = "arch"} ["dev-libs/boost" "sys-devel/binutils" "sys-devel/binutils-libs"] {os-distribution = "gentoo"} [ "binutils-dev" "clang-3.9" "libboost-dev" "libclang-3.9-dev" "llvm-3.9-dev" "libncurses-dev" ] {os-family = "debian"} ["boost160"] {os = "macos" & os-distribution = "homebrew"} ] post-messages: [ "This package requires llvm-3.9, clang-3.9, boost and binutils" {failure} ] synopsis: "clang OCaml bindings" url { src: "https://github.com/Antique-team/clangml/archive/v3.9.1.tar.gz" checksum: [ "sha256=7a452f94ca62ffcdc4803c099a8a48a66b5deb3457a766382256985f103f4902" "md5=5db29afb605415bdfd2f73f3c7a0bf9f" ] } extra-source "clangml.install" { src: "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/clangml/clangml.install" checksum: [ "sha256=79bf263146b674a605e2608e5c2aacb3a100f248ea943de167d8c0fb3631a096" "md5=347541519ab211a1cf2eb1049a6125f2" ] }