opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://github.com/ocaml/opam2web"
bug-reports: "https://github.com/ocaml/opam2web/issues"
build: make
remove: [
  ["rm" "-f" "%{prefix}%/bin/opam2web"]
  ["ocamlfind" "remove" "opam2web"]
]
depends: [
  "ocaml" {>= "4.00.0"}
  "ocamlfind"
  "opam-lib" {>= "1.1.1" & < "1.2.0"}
  "opamfu" {>= "0.1.1"}
  "re"
  "uri" {>= "1.3.11"}
  "cow" {>= "0.6.0" & < "0.9.0" & (< "0.8.0" | > "0.8.0")}
  "js_of_ocaml" {>= "1.3" & < "3.0"}
  "cmdliner"
]
dev-repo: "git://github.com/ocaml/opam2web"
install: [make "install" "PREFIX=%{prefix}%"]
synopsis: "A tool to generate a website from an OPAM repository"
description: """
This utility creates a static website from an OPAM repository, listing all 
available packages and their details. A homepage and OPAM documentation is 
included as well."""
flags: light-uninstall
url {
  src: "https://github.com/ocaml/opam2web/archive/1.3.1.tar.gz"
  checksum: "md5=b81556a9561d37dd1a286e4ef5222d60"
}
