N: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
F: docs/manual/
F: package/opkg-utils/
+F: package/pigz/
F: support/scripts/size-stats
F: utils/size-stats-compare
F: toolchain/
source "package/lzip/Config.in"
source "package/lzop/Config.in"
source "package/p7zip/Config.in"
+ source "package/pigz/Config.in"
source "package/pixz/Config.in"
source "package/unrar/Config.in"
source "package/unzip/Config.in"
--- /dev/null
+config BR2_PACKAGE_PIGZ
+ bool "pigz"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ select BR2_PACKAGE_ZLIB
+ help
+ 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.
+
+ http://www.zlib.net/pigz/
+
+comment "pigz needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--- /dev/null
+# From https://zlib.net/pigz/
+sha256 a4f816222a7b4269bd232680590b579ccc72591f1bb5adafcd7208ca77e14f73 pigz-2.4.tar.gz
+sha256 dc8f78258cdb4478b5922f4c00eb63d3cbac06c171dc829648fd414bb0cf4493 README
--- /dev/null
+################################################################################
+#
+# pigz
+#
+################################################################################
+
+PIGZ_VERSION = 2.4
+PIGZ_SITE = http://www.zlib.net/pigz
+PIGZ_DEPENDENCIES = zlib
+PIGZ_LICENSE = Zlib
+PIGZ_LICENSE_FILES = README
+
+define PIGZ_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define PIGZ_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/pigz $(TARGET_DIR)/usr/bin/pigz
+endef
+
+$(eval $(generic-package))