package/gnupg2: add bzip2 optional dependency
This is to improve build reproducibility. [Thomas: add --enable-bzip2 --with-bzip options.] Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
ad58c88c10
commit
b39e3e39eb
@ -26,4 +26,11 @@ endef
|
||||
GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
GNUPG2_CONF_OPT += --enable-bzip2 --with-bzip2=$(STAGING_DIR)
|
||||
GNUPG2_DEPENDENCIES += bzip2
|
||||
else
|
||||
GNUPG2_CONF_OPT += --disable-bzip2
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user