opam-version: "2.0"
maintainer: "copy@copy.sh"
authors: "copy"
homepage: "https://github.com/copy/gdbprofiler"
bug-reports: "https://github.com/copy/gdbprofiler/issues"
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
dev-repo: "git+https://github.com/copy/gdbprofiler.git"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  [make]
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "gdbprofiler"]
depends: [
  "ocaml" {>= "4.02.0" & < "4.06.0"}
  "ocamlfind" {build}
  "menhir"
  ("extlib" | "extlib-compat")
  "lwt" {>= "2.4.6" & < "4.0.0"}
  "ppx_deriving_yojson" {>= "2.0"}
  "oasis" {build & >= "0.4"}
  "containers" {>= "0.20" & < "3.0"}
]
synopsis: "gdbprofiler, a profiler for native OCaml and other executables"
description:
  "gdbprofiler (aka rich man's profiler) is a gdb-based sampling profiler that uses gdb or lldb"
flags: light-uninstall
url {
  src: "https://github.com/copy/gdbprofiler/archive/0.1.tar.gz"
  checksum: "md5=2aa855591d164a1b8fa682c4a4e0ceb7"
}
