Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
vowpal wabbit 7.0
Browse files Browse the repository at this point in the history
Closes #16210.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
Stefan Novak authored and adamv committed Jan 3, 2013
1 parent 2754bd4 commit 08bb636
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions 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

0 comments on commit 08bb636

Please sign in to comment.