2010-03-06 19:12:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class ProtobufC < Formula
|
2010-03-06 19:12:57 +00:00
|
|
|
homepage 'http://code.google.com/p/protobuf-c/'
|
2012-06-11 04:18:51 +00:00
|
|
|
url 'http://protobuf-c.googlecode.com/files/protobuf-c-0.15.tar.gz'
|
2011-05-25 21:43:12 +00:00
|
|
|
sha1 '4fbd93f492c52154713de1951c0a2133ddd43abb'
|
2010-03-06 19:12:57 +00:00
|
|
|
|
|
|
|
depends_on 'protobuf'
|
|
|
|
|
|
|
|
def install
|
2012-06-11 04:18:51 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2010-03-06 19:12:57 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|