blob: b6cdfdfb4674e8911826411a2d21853f9d4f167e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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
|