opam 0.7.3
* remove dependency on wget, as curl works fine * improve help and point to OPAM documentation site Closes Homebrew/homebrew#15279. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
202cb01bc2
commit
425f36d897
|
@ -2,11 +2,10 @@ require 'formula'
|
|||
|
||||
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}"
|
||||
|
@ -19,14 +18,16 @@ class Opam < Formula
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue