Skip to content

Instantly share code, notes, and snippets.

@Superbil
Last active December 16, 2015 14:09
Show Gist options
  • Save Superbil/5446562 to your computer and use it in GitHub Desktop.
Save Superbil/5446562 to your computer and use it in GitHub Desktop.
protobuf-objc 2.5.0 for homebrew
require 'formula'
class ProtobufObjc < Formula
homepage 'https://github.com/Superbil/protobuf-objc'
url 'https://github.com/Superbil/protobuf-objc.git'
sha1 '7dcd0d77c5aeb706510d67d157793fd689ad4073'
head 'https://github.com/Superbil/protobuf-objc.git',
:branch => 'develop'
depends_on :autoconf
depends_on :automake
depends_on :libtool
depends_on 'protobuf'
def install
ENV.prepend 'CXXFLAGS', '-DNDEBUG'
system "./autogen.sh"
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-zlib"
system "make", "install"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment