summaryrefslogtreecommitdiff
path: root/homebrew/pigz/.make.sh-auto
blob: 2de04bc082934c627e8a04d685b1324643c67d61 (plain)
1
2
3
4
5
6
7
8
pkg:setup
if MacOS.version == :el_capitan && MacOS::Xcode.version >= "8.0"
inreplace "pigz.c", "ZLIB_VERNUM >= 0x1260", "ZLIB_VERNUM >= 0x9999"
end
make CC=${PKG_TARG}-clang CFLAGS=${CFLAGS}
bin.install "pigz", "unpigz"
man1.install "pigz.1"
man1.install_symlink "pigz.1" => "unpigz.1"