opam-version: "2.0"
maintainer: "opensource@janestreet.com"
authors: ["Jane Street Capital LLC <opensource@janestreet.com>"]
homepage: "https://github.com/janestreet/core"
license: "Apache-2.0"
build: [
  ["patch" "-p1" "-i" "4.01cloexec.diff"] {ocaml:version >= "4.01.0"}
  [make]
]
remove: [["ocamlfind" "remove" "core"]]
depends: [
  "ocaml" {>= "4.00.1" & < "4.03"}
  "camlp4"
  "ocamlfind" {>= "1.3.2"}
  "bin_prot" {= "109.30.00"}
  "comparelib" {= "109.27.00"}
  "core_kernel" {= "109.36.00"}
  "custom_printf" {= "109.27.00"}
  "fieldslib" {= "109.20.00"}
  "herelib" {= "109.35.00"}
  "pa_ounit" {= "109.36.00"}
  "pipebang" {= "109.28.00"}
  "res"
  "sexplib" {= "109.20.00"}
  "variantslib" {= "109.15.00"}
  "ocamlbuild" {build}
]
bug-reports: "https://github.com/janestreet/core/issues"
dev-repo: "git+https://github.com/janestreet/core.git"
install: [[make "install"]]
synopsis: "Industrial strength alternative to OCaml's standard library"
description: """
The Core suite of libraries is an industrial strength alternative to
OCaml's standard library that was developed by Jane Street, the
largest industrial user of OCaml."""
flags: light-uninstall
extra-files: [
  ["corebuild" "md5=664eff4d107c5b9085ddc0afc9af8a7f"]
  ["core.install" "md5=02d1088c2d76984de6249d93f4432d13"]
  ["4.01cloexec.diff" "md5=eb5f613e26314bb85ba34e36f64456a1"]
]
url {
  src:
    "https://ocaml.janestreet.com/ocaml-core/109.36.00/individual/core-109.36.00.tar.gz"
  checksum: "md5=54fe80d702214db3beca8b2e941568af"
}
