homebrew-core/Formula/vowpal-wabbit.rb

29 lines
896 B
Ruby

require "formula"
class VowpalWabbit < Formula
homepage "https://github.com/JohnLangford/vowpal_wabbit"
head "https://github.com/JohnLangford/vowpal_wabbit.git"
url "https://github.com/JohnLangford/vowpal_wabbit/archive/7.7.tar.gz"
sha1 "d248bc848ad3919ad0c5002045a83aa29d83e6fd"
bottle do
cellar :any
sha1 "835e216e381b1b4f5b4483a3ce0f254023678357" => :mavericks
sha1 "621f557a6b9ce62670b285a1fbc3bbe83badb52b" => :mountain_lion
sha1 "165eca93fb9e839793c90f11da9336ee8388a01c" => :lion
end
depends_on "boost" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
def install
ENV["AC_PATH"] = "#{HOMEBREW_PREFIX}/share"
system "./autogen.sh", "--prefix=#{prefix}",
"--with-boost=#{Formula['boost'].opt_prefix}"
system "make"
system "make", "install"
end
end