homebrew-core/Formula/pbzip2.rb
Ibrahim Awwal 4f10edf185 Update pbzip2 formula to 1.1.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-06-15 17:23:36 -07:00

22 lines
484 B
Ruby

require 'formula'
class Pbzip2 <Formula
url 'http://compression.ca/pbzip2/pbzip2-1.1.1.tar.gz'
homepage 'http://compression.ca/pbzip2/'
md5 'b354422759da7113da366aad1876ed5d'
def install
# Won't compile with LLVM
ENV.gcc_4_2
inreplace "Makefile" do |s|
s.change_make_var! 'PREFIX', prefix
s.gsub! "/man/", "/share/man/"
# Per fink and macport:
s.gsub! "-pthread -lpthread", ""
end
system "make install"
end
end