aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pigz.rb
blob: 70a68f6e0edb6ac01d971fd98e3e51721c284392 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'formula'

class Pigz < Formula
  homepage 'http://www.zlib.net/pigz/'
  url 'http://www.zlib.net/pigz/pigz-2.3.1.tar.gz'
  sha1 '2d5c9a70a6afcf1d8986890026d70c96b9346c07'

  def install
    system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
    bin.install "pigz", "unpigz"
    man1.install "pigz.1"
    man1.install_symlink "pigz.1" => "unpigz.1"
  end
end