blob: b7438b62f1f022d1771d7a720dd48e487ef9eec7 (
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
  homepage 'http://compression.ca/pbzip2/'
  url 'http://compression.ca/pbzip2/pbzip2-1.1.6.tar.gz'
  sha1 '3b4d0ffa3ac362c3702793cc5d9e61664d468aeb'
  fails_with :llvm do
    build 2334
  end
  def install
    inreplace "Makefile", "$(PREFIX)/man", "$(PREFIX)/share/man"
    system "make", "PREFIX=#{prefix}",
                   "CC=#{ENV.cxx}",
                   "CFLAGS=#{ENV.cflags}",
                   "PREFIX=#{prefix}",
                   "install"
  end
end
  |