aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/protobuf-c.rb
blob: e00212a9122ffce9ec21aeb185ad4ccef2b53592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'formula'

class ProtobufC < Formula
  homepage 'http://code.google.com/p/protobuf-c/'
  url 'https://protobuf-c.googlecode.com/files/protobuf-c-0.15.tar.gz'
  sha1 '4fbd93f492c52154713de1951c0a2133ddd43abb'

  bottle do
    cellar :any
    sha1 "078262944c1f44a05d9702ff6775036ad342ab98" => :mavericks
    sha1 "35dd522279be5cd04a0e5c33e01d6f0680250963" => :mountain_lion
    sha1 "26bcfd1a485c615ab40987f80a892d5d2902d17b" => :lion
  end

  depends_on 'protobuf'

  def install
    system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
    system "make install"
  end
end