homebrew-core/Formula/pigz.rb
Adam Vandenberg 87b1b5df34 pigz 2.2.4
Also use our CC and CFLAGS.
2012-03-12 06:51:02 -07:00

14 lines
348 B
Ruby

require 'formula'
class Pigz < Formula
homepage 'http://www.zlib.net/pigz/'
url 'http://www.zlib.net/pigz/pigz-2.2.4.tar.gz'
md5 '9df2a3c742524446fa4e797c17e8fd85'
def install
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
bin.install "pigz", "unpigz"
man1.install "pigz.1"
ln_s 'pigz.1', man1+'unpigz.1'
end
end