|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "Bootstrapped development binary for opam 2.2" |
| 3 | +description: |
| 4 | + "This package compiles (bootstraps) opam. For consistency and safety of the installation, the binaries are not installed into the PATH, but into lib/opam-devel, from where the user can manually install them system-wide." |
| 5 | + |
| 6 | +authors: [ |
| 7 | + "David Allsopp < [email protected]>" |
| 8 | + "Vincent Bernardoff < [email protected]>" |
| 9 | + "Raja Boujbel < [email protected]>" |
| 10 | + "Kate Deplaix < [email protected]>" |
| 11 | + "Roberto Di Cosmo < [email protected]>" |
| 12 | + "Thomas Gazagnaire < [email protected]>" |
| 13 | + "Louis Gesbert < [email protected]>" |
| 14 | + "Fabrice Le Fessant < [email protected]>" |
| 15 | + "Anil Madhavapeddy < [email protected]>" |
| 16 | + "Guillem Rieu < [email protected]>" |
| 17 | + "Ralf Treinen < [email protected]>" |
| 18 | + "Frederic Tuong < [email protected]>" |
| 19 | +] |
| 20 | +license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception" |
| 21 | +homepage: "https://opam.ocaml.org" |
| 22 | +bug-reports: "https://github.com/ocaml/opam/issues" |
| 23 | +depends: [ |
| 24 | + "ocaml" {>= "4.08.0"} |
| 25 | + "opam-client" {= version} |
| 26 | + "cmdliner" {>= "1.1.0"} |
| 27 | + "dune" {>= "2.0.0"} |
| 28 | + "conf-openssl" {with-test} |
| 29 | + "conf-diffutils" {with-test} |
| 30 | +] |
| 31 | +flags: avoid-version |
| 32 | +available: opam-version >= "2.1.0" |
| 33 | +build: [ |
| 34 | + ["./configure" "--disable-checks" "--prefix" prefix] |
| 35 | + [make "%{name}%.install"] |
| 36 | +] |
| 37 | +post-messages: |
| 38 | + """\ |
| 39 | +The development version of opam has been successfully compiled into %{lib}%/%{name}%. You should not run it from there, please install the binaries to your PATH, e.g. with |
| 40 | + sudo cp %{lib}%/%{name}%/opam /usr/local/bin |
| 41 | + |
| 42 | +If you just want to give it a try without altering your current installation, you could use instead: |
| 43 | + alias opam2="OPAMROOT=~/.opam2 %{lib}%/%{name}%/opam\"""" |
| 44 | + {success} |
| 45 | +dev-repo: "git+https://github.com/ocaml/opam.git" |
| 46 | +url { |
| 47 | + src: "https://github.com/ocaml/opam/archive/refs/tags/2.2.0-alpha3.tar.gz" |
| 48 | + checksum: [ |
| 49 | + "md5=da12c9c417d078535f66758a36941e3f" |
| 50 | + "sha512=6ad6d0b67c8252444872bb652d85f2d5a35e63df1b25f1d11c23aa39b2ae9e6d075cfa55ece2a4c8875afcc0df94691d05cd058f61744fd9b7c468afa192de09" |
| 51 | + ] |
| 52 | +} |
0 commit comments