homebrew-core/Formula/pbzip2.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

21 lines
444 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
fails_with_llvm
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