opam-version: "2.0"
maintainer: "Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>"
authors: [
  "Fabrice Le Fessant <fabrice.le_fessant@ocamlpro.com>"
  "Pierre Chambart <pierre.chambart@ocamlpro.com>"
  ]
homepage: "http://www.typerex.org/"
dev-repo: "git+https://github.com/OCamlPro/typerex-lldb.git"
bug-reports: "https://github.com/OCamlPro/typerex-lldb/issues"
build: [
  [ "./configure" "--prefix" "%{prefix}%"  ]
  [ make ]
]
install: [
  [ make "install" ]
]
remove: [
  [ "rm" "-f" "%{prefix}%/bin/ocp-lldb" ]
  [ "rm" "-f" "%{prefix}%/bin/ocp-lldb-allocprof" ]
  [ "rm" "-f" "%{prefix}%/bin/ocp-lldb-gcstats" ]
  [ "rm" "-rf" "%{prefix}%/lib/ocplib-lldb" ]
]
depends: [
  "ocaml" {>= "4.01.0" & < "4.03"}
  "ocp-build" {>= "1.99.11-beta" & < "1.99.17-beta"}
  "conf-lldb" {= "3.5"}
  "lwt"
]
synopsis:
  "A set of tools and libs built on top of the LLDB debugging framework"
description: """
LLDB is the debugging framework associated to LLVM. This set contains:
* ocplib-lldb: a stubs library to access the LLDB objects and classes
* ocp-lldb: a variant of the lldb debugging with some small extensions
    for OCaml
* ocp-lldb-gcstats: prints GC stats at the end of the execution of an
    OCaml program
* ocp-lldb-allocprof: prints allocation information at the end of the
    execution of an OCaml program"""
flags: light-uninstall
url {
  src: "http://github.com/OCamlPro/typerex-lldb/archive/1.0.tar.gz"
  checksum: "md5=c482eb4ad86655a852591d6a7da9927b"
}
