opam-version: "2.0"
maintainer: "hez@0ok.org"
authors: [ "Hezekiah M. Carty" ]
license: "LGPL-2.1-only with OCaml-LGPL-linking-exception"
homepage: "https://github.com/hcarty/ocaml-hdf"
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
]
remove: [
  ["ocamlfind" "remove" "hdf4"]
]
depends: [
  "ocaml" {< "4.02.0"}
  "batteries"
  "ocamlfind"
  "pcre"
  "ocamlbuild" {build}
]
depexts: [
  ["libhdf4-dev" "hdf4-tools"] {os-family = "debian"}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis: "Bindings for the HDF4 library"
description: """
This library provides access to the HDF4 data reading and writing
library (http://www.hdfgroup.org/). It provides both direct, low-level
access to HDF4 library functions as well as a higher level, more
OCaml-like interface."""
flags: light-uninstall
url {
  src: "https://github.com/hcarty/ocaml-hdf/tarball/v0.9.1"
  checksum: "md5=0aeb8210a812cc2c108669ddfa16f24a"
}
