diff options
| author | Adam Vandenberg | 2010-01-30 10:38:19 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-01-30 10:38:19 -0800 |
| commit | c37845e95252ddcbc0f64db94c3b8a9eed192f61 (patch) | |
| tree | e34c170a97e3b04c60ae3dc1bbb8a02a9d30238a /Library/Formula/pbzip2.rb | |
| parent | 664eddb7cbb1e539cab57332ea1efa78415d3eea (diff) | |
| download | homebrew-c37845e95252ddcbc0f64db94c3b8a9eed192f61.tar.bz2 | |
pbzip2 - parallel bzip2
Diffstat (limited to 'Library/Formula/pbzip2.rb')
| -rw-r--r-- | Library/Formula/pbzip2.rb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/pbzip2.rb b/Library/Formula/pbzip2.rb new file mode 100644 index 000000000..0a614329d --- /dev/null +++ b/Library/Formula/pbzip2.rb @@ -0,0 +1,22 @@ +require 'formula' + +class Pbzip2 <Formula + url 'http://compression.ca/pbzip2/pbzip2-1.0.5.tar.gz' + homepage 'http://compression.ca/pbzip2/' + md5 'e2448d22ee29d1e6549ac58b98df11ab' + + 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 |
