opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
authors: ["Alain Frisch"]
homepage: "http://www.cduce.org/"
license: "MIT"
build: [
  [
    "./configure"
    "--prefix=%{prefix}%"
    "--mandir=%{doc}%/cduce"
    "--mliface=%{lib}%/ocaml-src"
      {"%{ocaml-src:installed}%" & ocaml:version = "3.12.1"}
  ]
  [make "all"]
]
remove: [["ocamlfind" "remove" "cduce"]]
depends: [
  "ocaml" {< "4.02.0"}
  "ocamlfind"
  "pcre"
  "ulex"
  "ocamlnet" {< "4.0.1"}
  "pxp"
]
depopts: ["ocaml-src"]
install: [make "install"]
synopsis: "Modern XML-oriented functional language with innovative features"
flags: light-uninstall
extra-files: ["cduce.install" "md5=384cc62166f125d3959f7875b05c085a"]
url {
  src: "http://www.cduce.org/download/cduce-0.5.5.tar.gz"
  checksum: "md5=bf9726a9cbc6287c807a8b1113f1e71f"
}
