opam-version: "2.0"
maintainer: "hez@0ok.org"
authors: "Hezekiah M. Carty"
license: "MIT"
homepage: "https://github.com/hcarty/ocaml-gdal"
bug-reports: "https://github.com/hcarty/ocaml-gdal/issues"
dev-repo: "git+https://github.com/hcarty/ocaml-gdal.git"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
install: ["ocaml" "setup.ml" "-install"]

remove: ["ocamlfind" "remove" "gdal"]

depends: [
  "ocaml" {>= "4.02.1" & < "4.03"}
  "ocamlfind" {build}
  "ctypes" {>= "0.4.0" & < "0.18.0"}
  "ctypes-foreign" {>= "0.4.0"}
  "ocamlbuild" {build}
]
depexts: [
  ["libgdal-dev"] {os-family = "debian"}
]
synopsis: "Bindings to the GDAL and OGR libraries"
flags: light-uninstall
url {
  src: "https://github.com/hcarty/ocaml-gdal/archive/v0.8.0.tar.gz"
  checksum: "md5=0370ae5a548e7e28bab0115d0332a845"
}
