Commit b39e3e39 authored by Romain Naour's avatar Romain Naour Committed by Thomas Petazzoni
Browse files

package/gnupg2: add bzip2 optional dependency



This is to improve build reproducibility.

[Thomas: add --enable-bzip2 --with-bzip options.]

Signed-off-by: default avatarRomain Naour <romain.naour@openwide.fr>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent ad58c88c
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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))