opam-version: "2.0"
maintainer: "Kate <kit.ty.kate@disroot.org>"
authors: [
  "whitequark <whitequark@whitequark.org>"
  "The LLVM team"
]
license: "MIT"
doc: "http://llvm.moe/ocaml-4.0"
bug-reports: "http://llvm.org/bugs/"
dev-repo: "git+http://llvm.org/git/llvm.git"
homepage: "http://llvm.moe"
install: [
  ["bash" "-ex" "install.sh" "%{conf-llvm:config}%" lib "%{conf-cmake:cmd}%"]
]
remove: [
  ["rm" "-rf" "%{lib}%/llvm"]
  ["sh" "-c" "rm -f %{lib}%/META.llvm*"]
]
depends: [
  "ocaml" {>= "4.00.0"}
  "ctypes" {>= "0.4"}
  "ounit" {with-test}
  "ocamlfind" {build}
  "conf-llvm" {build & = "4.0.0"}
  "conf-python-2-7" {build}
  "conf-cmake" {build}
]
synopsis: "The OCaml bindings distributed with LLVM"
description: "Note: LLVM should be installed first."
extra-files: [
  ["link.patch" "md5=d08ef49e8f21956b99cc51f201474166"]
  ["link-META.patch" "md5=5feaafe357cd1860d68fbf248770aa4d"]
  ["install.sh" "md5=153fcfff39630850cd4afaa42d6972c9"]
  ["META.patch" "md5=0aebed21c829c305f84a81288e655d50"]
]
url {
  src: "http://releases.llvm.org/4.0.0/llvm-4.0.0.src.tar.xz"
  checksum: "md5=ea9139a604be702454f6acf160b4f3a2"
}
