09481ba57a
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
21 lines
443 B
Ruby
21 lines
443 B
Ruby
require 'formula'
|
|
|
|
class Pbzip2 < Formula
|
|
url 'http://compression.ca/pbzip2/pbzip2-1.1.4.tar.gz'
|
|
homepage 'http://compression.ca/pbzip2/'
|
|
md5 '797e3ae5c6293a55e3e97fefb11cf494'
|
|
|
|
fails_with_llvm
|
|
|
|
def install
|
|
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
|