homebrew-core/Formula/protobuf-c.rb
BrewTestBot a88cd7593d protobuf-c: add 1.0.0 bottle.
Closes Homebrew/homebrew#31155.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-07-27 09:58:29 +01:00

21 lines
655 B
Ruby

require 'formula'
class ProtobufC < Formula
homepage 'https://github.com/protobuf-c/protobuf-c'
url 'https://github.com/protobuf-c/protobuf-c/releases/download/v1.0.0/protobuf-c-1.0.0.tar.gz'
sha1 '6d48eb6a193556262c35526e1ccf209a6fc69684'
bottle do
sha1 "46572020e49936035b3f35194c40f98d90fd8dcd" => :mavericks
sha1 "5fe4ec31d10b064fc580ae5958873ca038083a80" => :mountain_lion
sha1 "64e31c97b2ef834d6406d128892575706b17cbad" => :lion
end
depends_on 'pkg-config' => :build
depends_on 'protobuf'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end