diff options
| author | Adam Vandenberg | 2014-07-20 21:44:37 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-07-27 11:32:47 -0700 |
| commit | e6c5e17ee5b5650998f42c4558261f1bbdd380f2 (patch) | |
| tree | 5ef7aa4923ed44dc978d901452d46bfe213e8585 /Library | |
| parent | 79e815be467cdb425d728c2b16f832ebaedc956c (diff) | |
| download | homebrew-e6c5e17ee5b5650998f42c4558261f1bbdd380f2.tar.bz2 | |
vowpal-rabbit 7.7
Closes #29723.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/vowpal-wabbit.rb | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/Library/Formula/vowpal-wabbit.rb b/Library/Formula/vowpal-wabbit.rb index a1b1ff73f..2116162f5 100644 --- a/Library/Formula/vowpal-wabbit.rb +++ b/Library/Formula/vowpal-wabbit.rb @@ -2,30 +2,23 @@ require "formula" class VowpalWabbit < Formula homepage "https://github.com/JohnLangford/vowpal_wabbit" - url "https://github.com/JohnLangford/vowpal_wabbit/archive/7.6.tar.gz" - sha1 "854f6e54568f6c2e849d43b0f6cd1cc286ec965d" + head "https://github.com/JohnLangford/vowpal_wabbit.git" + url "https://github.com/JohnLangford/vowpal_wabbit/archive/7.7.tar.gz" + sha1 "d248bc848ad3919ad0c5002045a83aa29d83e6fd" - head do - url "https://github.com/JohnLangford/vowpal_wabbit.git" - - depends_on :autoconf - depends_on :automake - depends_on :libtool + bottle do end depends_on "boost" => :build + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build def install - if build.head? - inreplace "autogen.sh" do |s| - s.gsub! "/usr/share/aclocal", "#{HOMEBREW_PREFIX}/share/aclocal" - end - system "./autogen.sh" - end - - system "./configure", "--prefix=#{prefix}", - "--with-boost=#{Formula['boost'].opt_prefix}" + ENV["AC_PATH"] = "#{HOMEBREW_PREFIX}/share" + system "./autogen.sh", "--prefix=#{prefix}", + "--with-boost=#{Formula['boost'].opt_prefix}" system "make" - system "make install" + system "make", "install" end end |
