Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

update to opam-0.7.3 #15279

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions Library/Formula/opam.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

class Opam < Formula
homepage 'https://github.com/OCamlPro/opam'
url 'https://github.com/OCamlPro/opam/tarball/0.7.2'
sha1 '7bf09bed5be8628ea853173bfca2e3b85190de65'
url 'https://github.com/OCamlPro/opam/tarball/0.7.3'
sha1 'ef2b8e8bb36d554315b56fd866688704577db053'

depends_on "objective-caml"
depends_on "wget"

def install
system "./configure", "--prefix=#{prefix}"
Expand All @@ -19,14 +18,16 @@ def test
end

def caveats; <<-EOS.undent
opam uses ~/.opam by default to install packages, you need to init package
database first by running:
OPAM uses ~/.opam by default to install packages, so you need to initialize
the package database first by running (as a normal user):

opam init
$ opam init

and add the following line to ~/.profile to initialize opam environment:
and add the following line to ~/.profile to initialize the environment:

eval `opam config -env`
$ eval `opam config -env`

Documentation and tutorials are available at http://opam.ocamlpro.com
EOS
end
end