diff options
| author | Adam Vandenberg | 2013-01-03 12:45:52 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-03 12:46:09 -0800 |
| commit | 94e4baef24eedb0a91e9db0c6df728395ce12d1a (patch) | |
| tree | a106801e9785d576691c92cbc3814fc56d5611a3 /Library/Formula | |
| parent | 08bb63697419f92cc0fa002804b74333842843e7 (diff) | |
| download | homebrew-94e4baef24eedb0a91e9db0c6df728395ce12d1a.tar.bz2 | |
vowpal wabbit 7.1
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/vowpal-wabbit.rb | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/Library/Formula/vowpal-wabbit.rb b/Library/Formula/vowpal-wabbit.rb index 03d8e6f39..76d490b5c 100644 --- a/Library/Formula/vowpal-wabbit.rb +++ b/Library/Formula/vowpal-wabbit.rb @@ -2,23 +2,27 @@ require 'formula' class VowpalWabbit < Formula homepage 'https://github.com/JohnLangford/vowpal_wabbit' - url 'https://github.com/JohnLangford/vowpal_wabbit/tarball/v7.0' - sha1 '1960f9b8423ce13d6c0f29e3c23feeb2d52f2918' + url 'https://github.com/JohnLangford/vowpal_wabbit/tarball/v7.1' + sha1 'a2a8241654d79fd2c0b14a3907d98f7e87705ba8' head 'git://github.com/JohnLangford/vowpal_wabbit.git' - depends_on :libtool - depends_on :automake + if build.head? + depends_on :libtool + depends_on :automake + end + depends_on 'boost' => :build def install - # 7.0 tarball doesn't include autogen files - inreplace 'autogen.sh' do |s| - s.gsub! 'libtoolize', 'glibtoolize' - s.gsub! '/usr/share/aclocal', "#{HOMEBREW_PREFIX}/share/aclocal" + if build.head? + inreplace 'autogen.sh' do |s| + s.gsub! 'libtoolize', 'glibtoolize' + s.gsub! '/usr/share/aclocal', "#{HOMEBREW_PREFIX}/share/aclocal" + end + system "./autogen.sh" end - system "./autogen.sh" system "./configure", "--prefix=#{prefix}" system "make" system "make install" |
