opam-version: "2.0"
maintainer: "dev@ocsigen.org"
homepage: "http://eliom.org"
build: [
  [
    "sh"
    "configure"
    "--prefix"
    prefix
    "--mandir"
    man
    "--docdir"
    "%{lib}%/eliom/doc"
    "--datadir"
    "%{lib}%/eliom/share"
  ]
  [make]
]
remove: [["rm" "-rf" "%{lib}%/eliom" "%{man}%/man1/eliomc.1" "%{man}%/man1/eliomopt.1" "%{man}%/man1/eliomcp.1" "%{man}%/man1/js_of_eliom.1" "%{man}%/man1/eliomdep.1" "%{man}%/man1/eliom-destillery.1"]]
depends: [
  "ocaml"
  "ocamlfind"
  "deriving-ocsigen"
  "js_of_ocaml" {>= "1.3" & < "2.0"}
  "calendar" {>= "2.00"}
  "tyxml" {< "3.2"}
  "ocsigenserver" {>= "2.2" & < "2.3.0"}
  "camlp4"
]
patches: [
  "fix_int64.patch"
  "makefile_log.patch"
]
install: [make "install"]
synopsis:
  "Framework for programming web sites and client/server web applications"
description: """
Eliom is a framework for programming web sites and client/server web
applications. It uses very new concepts making programming very
different from all other web programming tools, and allowing to write
a complex web site in very few lines of code."""
flags: light-uninstall
extra-files: [
  ["makefile_log.patch" "md5=1ae0c6a80556b2be496e7ef348976a66"]
  ["fix_int64.patch" "md5=33b4935fdce1edb0e32e70a796b7b8a9"]
  ["eliom.install" "md5=7e1265cb6dbb4ce59c7e2921686d37bd"]
]
url {
  src: "http://ocsigen.org/download/eliom-3.0.3.tar.gz"
  checksum: "md5=f7ffba1582c6a5dc90b20c74930fc3e3"
}
