opam-version: "2.0"
maintainer: "Gerd Stolpmann <gerd@gerd-stolpmann.de>"
authors: [
  "Aleksey Nogin"
  "Jason Hickey"
  "Gerd Stolpmann"
]

license: "GPL-2.0-only"
dev-repo: "git+https://github.com/ocaml-omake/omake.git"
homepage: "http://projects.camlcity.org/projects/omake.html"
bug-reports: "https://github.com/ocaml-omake/issues"

build: [
  ["./configure" "-prefix" "%{prefix}%"]
  [make "PREFIX=%{prefix}%"]
]

install: [
  [make "install" "PREFIX=%{prefix}%"]
]

remove: [
  [ "rm" "-f" "%{prefix}%/bin/omake" ]
  [ "rm" "-f" "%{prefix}%/bin/osh" ]
  [ "rm" "-rf" "%{prefix}%/lib/omake" ]
]

depends: [
  "ocaml" {>= "4.02.3" & < "4.06.0"}
  "ocamlfind"
]
available: ocaml:native
synopsis: "Build system designed for scalability and portability"
flags: light-uninstall
url {
  src: "https://github.com/ocaml-omake/omake/archive/omake-0.10.1.tar.gz"
  checksum: "md5=6d66d68bbf39d5f241778ab1e70a78cf"
}
