aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-01-30 19:16:52 -0800
committerAdam Vandenberg2010-01-30 19:16:52 -0800
commit9614446e38ba487812929d33dda3eac8860bdc7a (patch)
treed0949d902e98f133a7fefbcf46c7fa4185732bc1 /Library
parent924dd353dea9875fc002ac626104895d6cdc077e (diff)
downloadhomebrew-9614446e38ba487812929d33dda3eac8860bdc7a.tar.bz2
protobuf 2.3.0
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/protobuf.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/protobuf.rb b/Library/Formula/protobuf.rb
index 18d4dc8a3..3f897c122 100644
--- a/Library/Formula/protobuf.rb
+++ b/Library/Formula/protobuf.rb
@@ -1,12 +1,16 @@
require 'formula'
class Protobuf <Formula
- @url='http://protobuf.googlecode.com/files/protobuf-2.2.0.tar.bz2'
- @homepage='http://code.google.com/p/protobuf/'
- @sha1='a0aff9df8dc93c5337553d586bbe726808d342a6'
+ url 'http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.bz2'
+ sha1 'db0fbdc58be22a676335a37787178a4dfddf93c6'
+ homepage 'http://code.google.com/p/protobuf/'
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ ENV.gcc_4_2
+ system "./configure", "--prefix=#{prefix}", "--disable-debug",
+ "--disable-dependency-tracking",
+ "--with-zlib"
+ system "make"
system "make install"
end
end \ No newline at end of file