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/'
|
2013-03-04 18:13:30 +00:00
|
|
|
url 'http://www.zlib.net/pigz/pigz-2.3.tar.gz'
|
|
|
|
sha1 'c8d4e622863c5ffff9321453acc9a37e9da87af7'
|
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"
|
2011-04-04 19:28:30 +00:00
|
|
|
ln_s 'pigz.1', man1+'unpigz.1'
|
2009-10-16 22:59:31 +00:00
|
|
|
end
|
|
|
|
end
|