opam-version: "2.0"
maintainer: "ygrek@autistici.org"
authors: ["Sebastien Mondet"]
homepage: "https://smondet.github.io/bracetax/"
dev-repo: "git+https://github.com/smondet/bracetax.git"
bug-reports: "https://github.com/smondet/bracetax/issues"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
install: [
  ["ocaml" "setup.ml" "-install"]
]
remove: [
  ["ocamlfind" "remove" "bracetax"]
  ["rm" "-f" "%{bin}%/brtx" "%{bin}%/brtx.exe"]
]
depends: [
  "ocaml" {>= "4.02.0"}
  "ocamlfind" {build}
  "ocamlbuild" {build}
  "base-bytes"
]
synopsis: "Simple and deterministic text processing syntax"
flags: light-uninstall
url {
  src:
    "https://github.com/smondet/bracetax/releases/download/v0.4/bracetax-0.4.tar.gz"
  checksum: "md5=3cdad48090abb6046c967c83176eb240"
}
