opam-version: "2.0"
maintainer: "jun.furuse@gmail.com"
authors: [
  "Aleksey Nogin"
  "Jason Hickey"
]
license: "GPL-2.0-only"
dev-repo: "git+https://github.com/camlspotter/omake-0.9.git"
homepage: "https://github.com/camlspotter/omake-0.9/README.md"
bug-reports: "https://github.com/camlspotter/omake-0.9/issues"

build: [
  [make "bootstrap" "PREFIX=%{prefix}%"]
  [make "all" "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.07.0"}
  "ocamlfind"
]
synopsis: "Build system designed for scalability and portability."
flags: light-uninstall
url {
  src: "https://github.com/camlspotter/omake-0.9/archive/0.9.8.7.tar.gz"
  checksum: "md5=56fd01bdd0e412d4fb66feba20a15b42"
}
