homebrew-core/Formula/pigz.rb
2014-03-24 19:44:21 -05:00

14 lines
370 B
Ruby

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