aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pbzip2.rb
blob: e1bf6d10a265484dcc9fbdda2ea92f090f0384b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'formula'

class Pbzip2 < Formula
  url 'http://compression.ca/pbzip2/pbzip2-1.1.6.tar.gz'
  homepage 'http://compression.ca/pbzip2/'
  md5 '26cc5a0d882198f106e75101ff0544a3'

  fails_with_llvm :build => 2334

  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