diff options
| author | Stefan Novak | 2012-10-25 14:19:26 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2013-01-03 12:46:06 -0800 |
| commit | 08bb63697419f92cc0fa002804b74333842843e7 (patch) | |
| tree | f36e5dfd6af12e31439e28dfe20c21af17827195 /Library | |
| parent | 2754bd455df444aca21a959431f0201f331fd9b7 (diff) | |
| download | homebrew-08bb63697419f92cc0fa002804b74333842843e7.tar.bz2 | |
vowpal wabbit 7.0
Closes #16210.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/vowpal-wabbit.rb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/vowpal-wabbit.rb b/Library/Formula/vowpal-wabbit.rb new file mode 100644 index 000000000..03d8e6f39 --- /dev/null +++ b/Library/Formula/vowpal-wabbit.rb @@ -0,0 +1,26 @@ +require 'formula' + +class VowpalWabbit < Formula + homepage 'https://github.com/JohnLangford/vowpal_wabbit' + url 'https://github.com/JohnLangford/vowpal_wabbit/tarball/v7.0' + sha1 '1960f9b8423ce13d6c0f29e3c23feeb2d52f2918' + + head 'git://github.com/JohnLangford/vowpal_wabbit.git' + + depends_on :libtool + depends_on :automake + 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" + end + + system "./autogen.sh" + system "./configure", "--prefix=#{prefix}" + system "make" + system "make install" + end +end |
