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]
]

install: [
  [make "install"]
]

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"
]
synopsis: "Build system designed for scalability and portability"
flags: light-uninstall
url {
  src: "https://github.com/ocaml-omake/omake/archive/omake-0.10.2.tar.gz"
  checksum: "md5=67033cf9eb78d9ebdb9c3a9fba2326f2"
}
