ef6778f2e4
Updated license hash due to various commits bumping the version number: https://github.com/madler/pigz/commits/master/README Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
32 lines
794 B
Makefile
32 lines
794 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
|
|
|
|
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))
|