opam-version: "2.0"
maintainer: "The OPAM team"
authors: "The OPAM team"
homepage: "https://github.com/ocaml/opam2web"
bug-reports: "https://github.com/ocaml/opam2web/issues"
dev-repo: "git+https://github.com/ocaml/opam2web.git"
build: [make]
install:[
  [make "install" "PREFIX=%{prefix}%"]
  ["mkdir" "-p" "%{share}%/opam2web/"]
  ["cp" "-R" "ext" "%{share}%/opam2web/"]
]
remove: [
  ["rm" "-f" "%{prefix}%/bin/opam2web"]
  ["rm" "-rf" "%{share}%/opam2web"]
  ["ocamlfind" "remove" "opam2web"]
]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind"
  "opam-lib" {= "1.2.0"}
  "opamfu" {>= "0.1.2"}
  "re"
  "uri" {>= "1.3.11"}
  "cow" {>= "0.10.0" & < "2.0.0"}
  "js_of_ocaml" {>= "2.4.1" & < "3.0"}
  "cmdliner"
]
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.4.0.tar.gz"
  checksum: "md5=6f6f15697548d2fcf46ce53dec91bb3c"
}
