opam-version: "2.0"
maintainer: "Dario Teixeira <dario.teixeira@nleyten.com>"
authors: ["Dario Teixeira <dario.teixeira@nleyten.com>"]
homepage: "http://lambdoc.forge.ocamlcore.org/"
bug-reports: "https://github.com/darioteixeira/lambdoc/issues"
dev-repo: "git+https://github.com/darioteixeira/lambdoc.git"
license: "GPL-2.0"
build: make
remove: [["ocamlfind" "remove" "lambdoc"]]
depends: [
  "ocaml" {>= "4.01.0"}
  "ocamlfind"
  "camlp4"
  "batteries" {>= "2"}
  "menhir"
  "ulex"
  "sexplib" {< "113.01.00"}
  "pcre"
  "pxp"
  "xstrp4"
  "tyxml" {>= "3.2" & < "4"}
  "omd" {>= "1.0.0"}
  "blahcaml"
  "camlhighlight" {>= "3.0" & < "4"}
  "ocamlbuild" {build}
]
install: [make "install"]
synopsis:
  "Library providing support for semantically rich documents in web applications."
description: """
Lambdoc was built with Ocsigen/Eliom integration in mind.  It includes parsers for
four different markup languages: Lambtex, Lambxml, Lambwiki, and Markdown.  The first
is inspired by LaTeX, the second is an XML-based markup based on HTML, the third is a
lightweight markup language in the spirit of Wiki Creole, and the last is the popular
lightweight markup language.  The library also includes the possibility of outputing
any Lambdoc document as an Ocsigen HTML5 value.  Additional capabilities include the
runtime customisation of available document features (you may, for example, declare
that a certain class of users is only allowed to produce documents containing nothing
more than paragraphs of plain text), detailed error messages, and the definition
of basic macros.  It also ships with 'lambcmd', a CLI application that allows the
conversion between any of the input formats into one of the supported output targets."""
flags: light-uninstall
extra-files: ["lambdoc.install" "md5=c48589f24468c2c0c7e87bbc25f6ed95"]
url {
  src:
    "https://download.ocamlcore.org/lambdoc/lambdoc/1.0-beta2/lambdoc-1.0-beta2.tgz"
  checksum: "md5=d6e5607ceff3642914a5b8b9ecdba7e2"
}
