homebrew-core/Formula/pbzip2.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

21 lines
504 B
Ruby

require 'formula'
class Pbzip2 < Formula
homepage 'http://compression.ca/pbzip2/'
url 'http://compression.ca/pbzip2/pbzip2-1.1.6.tar.gz'
md5 '26cc5a0d882198f106e75101ff0544a3'
fails_with :llvm do
build 2334
end
def install
inreplace "Makefile", "$(PREFIX)/man", "$(PREFIX)/share/man"
system "make", "PREFIX=#{prefix}",
"CC=#{ENV.cxx}",
"CFLAGS=#{ENV.cflags}",
"PREFIX=#{prefix}",
"install"
end
end