diff options
| author | Anil Madhavapeddy | 2013-02-10 21:51:26 +0000 |
|---|---|---|
| committer | Jack Nagel | 2013-02-10 16:50:40 -0600 |
| commit | bad98b1234d602f577fc77fdd708f05ab0004b6a (patch) | |
| tree | 8f2b48acb8ad44b7f21039e17342d48a35e08d04 | |
| parent | ad5d917ef6450752af6dc996418f49f59b5ff302 (diff) | |
| download | homebrew-bad98b1234d602f577fc77fdd708f05ab0004b6a.tar.bz2 | |
OPAM: add head, clarify caveats
Closes #17743.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/opam.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Library/Formula/opam.rb b/Library/Formula/opam.rb index f11c6646d..a8804bc13 100644 --- a/Library/Formula/opam.rb +++ b/Library/Formula/opam.rb @@ -5,6 +5,8 @@ class Opam < Formula url 'https://github.com/OCamlPro/opam/archive/0.9.2.tar.gz' sha1 '993ad778101589bbad089e34922d0e60180698a0' + head 'https://github.com/OCamlPro/opam.git' + depends_on "objective-caml" def install @@ -21,14 +23,18 @@ class Opam < Formula end def caveats; <<-EOS.undent - OPAM uses ~/.opam by default to install packages, so you need to initialize - the package database first by running (as a normal user): + OPAM uses ~/.opam by default for its package database, so you need to + initialize it first by running (as a normal user): $ opam init - and add the following line to ~/.profile to initialize the environment: + Run the following to initialize your environmnent variables: + + $ eval `opam config env` - $ eval `opam config -env` + To export the needed variables every time, add them to your dotfiles. + * On Bash, add them to `~/.bash_profile`. + * On Zsh, add them to `~/.zprofile` instead. Documentation and tutorials are available at http://opam.ocamlpro.com, or via 'man opam' and 'opam --help'. |
