2010-03-06 19:12:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class ProtobufC < Formula
|
2010-09-09 15:38:05 +00:00
|
|
|
url 'http://protobuf-c.googlecode.com/files/protobuf-c-0.14.tar.gz'
|
2010-03-06 19:12:57 +00:00
|
|
|
homepage 'http://code.google.com/p/protobuf-c/'
|
2010-09-09 15:38:05 +00:00
|
|
|
sha1 'b3af990906d8a8d86e2fb8cb6f39d0a37616ff8a'
|
2010-03-06 19:12:57 +00:00
|
|
|
|
|
|
|
depends_on 'protobuf'
|
|
|
|
|
|
|
|
def install
|
2010-09-09 15:38:05 +00:00
|
|
|
ENV.j1 # Fixed in a post-0.14 change
|
2010-03-06 19:12:57 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|