homebrew-core/Formula/protobuf-c.rb

22 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