/
opam
48 lines (47 loc) · 1.93 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
opam-version: "2.0"
synopsis: "Bootstrapped development binary for opam 2.1"
description:
"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."
maintainer: "opam-devel@lists.ocaml.org"
authors: [
"Vincent Bernardoff <vb@luminar.eu.org>"
"Raja Boujbel <raja.boujbel@ocamlpro.com>"
"Roberto Di Cosmo <roberto@dicosmo.org>"
"Thomas Gazagnaire <thomas@gazagnaire.org>"
"Louis Gesbert <louis.gesbert@ocamlpro.com>"
"Fabrice Le Fessant <Fabrice.Le_fessant@inria.fr>"
"Anil Madhavapeddy <anil@recoil.org>"
"Guillem Rieu <guillem.rieu@ocamlpro.com>"
"Ralf Treinen <ralf.treinen@pps.jussieu.fr>"
"Frederic Tuong <tuong@users.gforge.inria.fr>"
]
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
homepage: "https://opam.ocaml.org"
bug-reports: "https://github.com/ocaml/opam/issues"
depends: [
"ocaml" {>= "4.02.3"}
"opam-client" {= version}
"cmdliner" {>= "0.9.8"}
"dune" {>= "1.11.0"}
"conf-openssl" {with-test}
"conf-diffutils" {with-test}
]
build: [
["./configure" "--disable-checks" "--prefix" prefix]
[make "%{name}%.install"]
]
post-messages:
"""\
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
sudo cp %{lib}%/%{name}%/opam /usr/local/bin
If you just want to give it a try without altering your current installation, you could use instead:
alias opam2="OPAMROOT=~/.opam2 %{lib}%/%{name}%/opam\""""
{success}
dev-repo: "git+https://github.com/ocaml/opam.git"
url {
src: "https://github.com/ocaml/opam/archive/2.1.0.tar.gz"
checksum: [
"md5=c48e9f56ad418827e3af37d2415213a4"
"sha512=c0060e609c49a12dc8f64accef990aa593db818b72df3984fb9b4b22d8678b46c515916c84134a62dab614c716b61788eadc954d295f32c1f27d38aec22b3edf"
]
}