parent
b2f21fec7c
commit
c0c2eb556e
|
@ -2,20 +2,13 @@ require 'formula'
|
||||||
|
|
||||||
class Opam < Formula
|
class Opam < Formula
|
||||||
homepage 'https://github.com/OCamlPro/opam'
|
homepage 'https://github.com/OCamlPro/opam'
|
||||||
url 'https://github.com/OCamlPro/opam/archive/0.9.5.tar.gz'
|
url 'https://github.com/OCamlPro/opam/archive/0.9.6.tar.gz'
|
||||||
sha1 '73afb82f16052badd5c7eea0d24a01029ab21c67'
|
sha1 '6361468864c4ea649152594d9471dc5a83de955c'
|
||||||
|
|
||||||
head 'https://github.com/OCamlPro/opam.git'
|
head 'https://github.com/OCamlPro/opam.git'
|
||||||
|
|
||||||
depends_on "objective-caml"
|
depends_on "objective-caml"
|
||||||
|
|
||||||
def patches
|
|
||||||
[
|
|
||||||
# patch to fix symlink issue in #520
|
|
||||||
"https://github.com/OCamlPro/opam/commit/db5129d42fd70cb80ee33040d42f0103d9cc51ea.diff"
|
|
||||||
]
|
|
||||||
end
|
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--prefix=#{prefix}"
|
system "./configure", "--prefix=#{prefix}"
|
||||||
system "make"
|
system "make"
|
||||||
|
@ -35,7 +28,7 @@ class Opam < Formula
|
||||||
|
|
||||||
$ opam init
|
$ opam init
|
||||||
|
|
||||||
Run the following to initialize your environmnent variables:
|
Run the following to initialize your environment variables:
|
||||||
|
|
||||||
$ eval `opam config env`
|
$ eval `opam config env`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue