1ee888c248
cpe:2.3🅰️zlib:pigz is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Azlib%3Apigz Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
33 lines
820 B
Makefile
33 lines
820 B
Makefile
################################################################################
|
|
#
|
|
# pigz
|
|
#
|
|
################################################################################
|
|
|
|
PIGZ_VERSION = 2.6
|
|
PIGZ_SITE = $(call github,madler,pigz,v$(PIGZ_VERSION))
|
|
PIGZ_DEPENDENCIES = zlib
|
|
HOST_PIGZ_DEPENDENCIES = host-zlib
|
|
PIGZ_LICENSE = Zlib
|
|
PIGZ_LICENSE_FILES = README
|
|
PIGZ_CPE_ID_VENDOR = zlib
|
|
|
|
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))
|