homebrew-core/Formula/pbzip2.rb

22 lines
443 B
Ruby
Raw Normal View History

2010-01-30 18:38:19 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Pbzip2 < Formula
url 'http://compression.ca/pbzip2/pbzip2-1.1.4.tar.gz'
2010-01-30 18:38:19 +00:00
homepage 'http://compression.ca/pbzip2/'
md5 '797e3ae5c6293a55e3e97fefb11cf494'
2010-01-30 18:38:19 +00:00
2011-03-21 21:24:22 +00:00
fails_with_llvm
2011-03-21 21:24:22 +00:00
def install
2010-01-30 18:38:19 +00:00
inreplace "Makefile" do |s|
s.change_make_var! 'PREFIX', prefix
s.gsub! "/man/", "/share/man/"
2010-01-30 18:38:19 +00:00
# Per fink and macport:
s.gsub! "-pthread -lpthread", ""
end
2010-01-30 18:38:19 +00:00
system "make install"
end
end