homebrew-core/Formula/pigz.rb

15 lines
357 B
Ruby
Raw Normal View History

2009-10-16 22:59:31 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Pigz < Formula
2009-10-16 22:59:31 +00:00
homepage 'http://www.zlib.net/pigz/'
url 'http://www.zlib.net/pigz/pigz-2.2.5.tar.gz'
sha1 '8c7895c7891a4945050a2f6308b9fe3d6b4c28fc'
2009-10-16 22:59:31 +00:00
def install
2012-03-12 13:51:02 +00:00
system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}"
2012-02-11 04:31:07 +00:00
bin.install "pigz", "unpigz"
man1.install "pigz.1"
ln_s 'pigz.1', man1+'unpigz.1'
2009-10-16 22:59:31 +00:00
end
end