############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = pigz version = 2.3.3 release = 2 groups = Applications/Compression url = http://www.zlib.net/pigz/ license = zlib summary = Parallel implementation of gzip. description pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data. end source_dl = %{url} build requires zlib-devel end make_build_targets += CC=gcc CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS} -lz" test make test end install install -p -D pigz %{BUILDROOT}%{bindir}/pigz ln -svf pigz %{BUILDROOT}%{bindir}/unpigz install -p -D pigz.1 -m 644 %{BUILDROOT}%{mandir}/man1/pigz.1 end end packages package %{name} package %{name}-debuginfo template DEBUGINFO end end