aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/protobuf.rb
blob: ba1f425978a53518d24aade2658b49be8280027f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'
 
class Protobuf <Formula
  url 'http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.bz2'
  sha1 'db0fbdc58be22a676335a37787178a4dfddf93c6'
  homepage 'http://code.google.com/p/protobuf/'
 
  def install
    fails_with_llvm
    system "./configure", "--prefix=#{prefix}", "--disable-debug", 
                          "--disable-dependency-tracking",
                          "--with-zlib"
    system "make"
    system "make install"
  end
end