opam-version: "2.0"
maintainer: "Dario Teixeira <dario.teixeira@nleyten.com>"
authors: ["Dario Teixeira <dario.teixeira@nleyten.com>"]
homepage: "http://litiom.forge.ocamlcore.org/"
bug-reports: "https://github.com/darioteixeira/litiom/issues"
dev-repo: "git+https://github.com/darioteixeira/litiom.git"
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
build: [
    ["./configure" "--prefix" prefix "--docdir" "%{doc}%/litiom"]
    [make]
    [make "doc"]
]
install: [[make "install"]]
remove: [
  ["ocamlfind" "remove" "litiom"]
  ["rm" "-rf" litiom:doc]
]
depends: [
  "ocaml"
  "ocamlfind"
  "eliom" {>= "4.1" & < "5"}
  "ocamlbuild" {build}
]
synopsis: "Extensions to Ocsigen's Eliom."
description: """
Litiom aims to complement Eliom, the web programming framework part of the Ocsigen project.
Litiom is basically a repository for modules offering high-level constructs for web programming."""
flags: light-uninstall
url {
  src: "https://download.ocamlcore.org/litiom/litiom/4.0/litiom-4.0.tgz"
  checksum: "md5=c98ac7129f473004cf0d72d6c24c52b1"
}
