homebrew-core/Formula/msgpack.rb
Jack Nagel 64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00

17 lines
468 B
Ruby

require 'formula'
class Msgpack < Formula
homepage 'http://msgpack.org/'
url 'http://msgpack.org/releases/cpp/msgpack-0.5.7.tar.gz'
sha256 '7c203265cf14a4723820e0fc7ac14bf4bad5578f7bc525e9835c70cd36e7d1b8'
# fails with the latest LLVM, but only on Lion?
fails_with :llvm do
cause "compilation fails"
end if MacOS.lion?
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end