]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
pigz: New package.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Jul 2012 09:47:23 +0000 (11:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Jul 2012 09:47:23 +0000 (11:47 +0200)
Parallel compression, decompression for gzip.

pigz/pigz.nm [new file with mode: 0644]

diff --git a/pigz/pigz.nm b/pigz/pigz.nm
new file mode 100644 (file)
index 0000000..27a30a2
--- /dev/null
@@ -0,0 +1,44 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = pigz
+version    = 2.2.5
+release    = 1
+
+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 += CFLAGS="%{CFLAGS}"
+
+       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