This commit is contained in:
TriForceX
2021-03-13 22:13:38 -03:00
parent c77595adbd
commit b3ecc6e32d
7043 changed files with 119377 additions and 73694 deletions

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_HOST_PIGZ
bool "host pigz"
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/

View File

@@ -7,6 +7,7 @@
PIGZ_VERSION = 2.4
PIGZ_SITE = $(call github,madler,pigz,v$(PIGZ_VERSION))
PIGZ_DEPENDENCIES = zlib
HOST_PIGZ_DEPENDENCIES = host-zlib
PIGZ_LICENSE = Zlib
PIGZ_LICENSE_FILES = README
@@ -14,8 +15,17 @@ define PIGZ_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define HOST_PIGZ_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
endef
define PIGZ_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/pigz $(TARGET_DIR)/usr/bin/pigz
endef
define HOST_PIGZ_INSTALL_CMDS
$(INSTALL) -D -m 0755 $(@D)/pigz $(HOST_DIR)/bin/pigz
endef
$(eval $(generic-package))
$(eval $(host-generic-package))