opam-version: "2.0"
maintainer: "zandoye@gmail.com"
authors: [ "ZAN DoYe" ]
homepage: "https://bitbucket.org/zandoye/ocaml-tidy/"
bug-reports: "https://bitbucket.org/zandoye/ocaml-tidy/issues"
license: "MIT"
tags: [
  "html"
  "parse"
  "tidy"
]
dev-repo: "hg+https://bitbucket.org/zandoye/ocaml-tidy"
available: opam-version >= "1.2.1"
build: [
  [make]
]
install: [make "install"]
remove: ["ocamlfind" "remove" "tidy"]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind" {build}
  "core_kernel" {< "v0.13"}
]
depexts: [
  ["libtidy-dev"] {os-family = "debian"}
  ["tidyhtml"] {os-distribution = "arch"}
]
post-messages: [
  "This package requires installation of libtidy5. You can download and install it from https://github.com/htacg/tidy-html5 and here is a sample install script: https://gist.githubusercontent.com/kandu/b88c1f4631e6c5a3bbac/raw" {failure}
]
synopsis: "bindings for tidy5 - HTML Tidy with HTML5 support"
description: "HTML parser, syntax checker and reformatter"
flags: light-uninstall
url {
  src: "https://bitbucket.org/zandoye/ocaml-tidy/get/ver.4.9.30-0.1.1.tar.gz"
  checksum: "md5=547e329166ed612acb088a864c072283"
}
