···11+opam-version: "2.0"
22+synopsis: "Fast, portable, and opinionated build system"
33+description: """
44+55+dune is a build system that was designed to simplify the release of
66+Jane Street packages. It reads metadata from "dune" files following a
77+very simple s-expression syntax.
88+99+dune is fast, has very low-overhead, and supports parallel builds on
1010+all platforms. It has no system dependencies; all you need to build
1111+dune or packages using dune is OCaml. You don't need make or bash
1212+as long as the packages themselves don't use bash explicitly.
1313+1414+dune supports multi-package development by simply dropping multiple
1515+repositories into the same directory.
1616+1717+It also supports multi-context builds, such as building against
1818+several opam roots/switches simultaneously. This helps maintaining
1919+packages across several versions of OCaml and gives cross-compilation
2020+for free.
2121+"""
2222+maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
2323+authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
2424+license: "MIT"
2525+homepage: "https://github.com/ocaml/dune"
2626+doc: "https://dune.readthedocs.io/"
2727+bug-reports: "https://github.com/ocaml/dune/issues"
2828+dev-repo: "git+https://github.com/ocaml/dune.git"
2929+build-env: [PATH += "%{ocaml-secondary-compiler:share}%/bin"]
3030+build: [
3131+ ["sh" "-exc" "PATH=%{ocaml-secondary-compiler:share}%/bin:$PATH ocaml boot/bootstrap.ml -j %{jobs}%"] { opam-version < "2.1.5"}
3232+ ["ocaml" "boot/bootstrap.ml" "-j" jobs] { opam-version >= "2.1.5" }
3333+ ["sh" "-exc" "PATH=%{ocaml-secondary-compiler:share}%/bin:$PATH ./_boot/dune.exe build dune.install --release --profile dune-bootstrap -j %{jobs}%" ] { opam-version < "2.1.5" }
3434+ ["./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" jobs] { opam-version >= "2.1.5" }
3535+]
3636+install: [
3737+ ["./_boot/dune.exe" "install" "dune" "--prefix" "%{ocaml-secondary-compiler:share}%"] { opam-version >= "2.1.5" }
3838+ ["sh" "-exc" "PATH=%{ocaml-secondary-compiler:share}%/bin:$PATH ./_boot/dune.exe install dune --prefix %{ocaml-secondary-compiler:share}%"] { opam-version < "2.1.5" }
3939+]
4040+depends: [
4141+ "ocaml-secondary-compiler" {>="4.14.2"}
4242+]
4343+url {
4444+ src: "https://github.com/ocaml/dune/releases/download/3.16.0/dune-3.16.0.tbz"
4545+ checksum: [
4646+ "sha256=5481dde7918ca3121e02c34d74339f734b32d5883efb8c1b8056471e74f9bda6"
4747+ "sha512=529f937c61bc9ea7b135c2425f2d730478b48e6ab6b6455c354138d27b76bd43afce40d4784a6f183d6308d3cf0f5d5cea5bea070f83442949762ed818fb44bc"
4848+ ]
4949+}