You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.8 KiB
50 lines
1.8 KiB
opam-version: "2.0" |
|
maintainer: "opensource@janestreet.com" |
|
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"] |
|
homepage: "https://github.com/ocaml/dune" |
|
bug-reports: "https://github.com/ocaml/dune/issues" |
|
dev-repo: "git+https://github.com/ocaml/dune.git" |
|
license: "MIT" |
|
depends: [ |
|
"ocaml" {>= "4.02"} |
|
"base-unix" |
|
"base-threads" |
|
] |
|
build: [ |
|
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path |
|
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"} |
|
["ocaml" "bootstrap.ml"] |
|
["./boot.exe" "--release" "--subst"] {pinned} |
|
["./boot.exe" "--release" "-j" jobs] |
|
] |
|
conflicts: [ |
|
"jbuilder" {!= "transition"} |
|
"odoc" {< "1.3.0"} |
|
] |
|
|
|
synopsis: "Fast, portable and opinionated build system" |
|
description: """ |
|
dune is a build system that was designed to simplify the release of |
|
Jane Street packages. It reads metadata from "dune" files following a |
|
very simple s-expression syntax. |
|
|
|
dune is fast, it has very low-overhead and support parallel builds on |
|
all platforms. It has no system dependencies, all you need to build |
|
dune and packages using dune is OCaml. You don't need or make or bash |
|
as long as the packages themselves don't use bash explicitly. |
|
|
|
dune supports multi-package development by simply dropping multiple |
|
repositories into the same directory. |
|
|
|
It also supports multi-context builds, such as building against |
|
several opam roots/switches simultaneously. This helps maintaining |
|
packages across several versions of OCaml and gives cross-compilation |
|
for free. |
|
""" |
|
url { |
|
src: "https://github.com/ocaml/dune/releases/download/1.9.3/dune-1.9.3.tbz" |
|
checksum: [ |
|
"sha256=317bec6de4429b5dee157e9864294e1534b722a2acfc50480bd16c804ab790ca" |
|
"sha512=17450333156622d4612816f9ad5a224c741d62b247d63c1d77b5359d37517c1f9bc598dd11fa024f4e02ccf7eef474cd532eef1d9c34ed13439db6c781f9fa7a" |
|
] |
|
}
|
|
|