2010-01-30 18:38:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pbzip2 < Formula
|
2010-06-15 22:53:42 +00:00
|
|
|
url 'http://compression.ca/pbzip2/pbzip2-1.1.1.tar.gz'
|
2010-01-30 18:38:19 +00:00
|
|
|
homepage 'http://compression.ca/pbzip2/'
|
2010-06-15 22:53:42 +00:00
|
|
|
md5 'b354422759da7113da366aad1876ed5d'
|
2010-01-30 18:38:19 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
fails_with_llvm
|
2010-04-07 05:58:35 +00:00
|
|
|
|
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-04-07 05:58:35 +00:00
|
|
|
|
2010-01-30 18:38:19 +00:00
|
|
|
# Per fink and macport:
|
|
|
|
s.gsub! "-pthread -lpthread", ""
|
|
|
|
end
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2010-01-30 18:38:19 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|