[Buildroot] [PATCH 2/3] package/gnupg2: add bzip2 optional dependency

Romain Naour romain.naour at openwide.fr
Sat Sep 20 20:07:21 UTC 2014


Signed-off-by: Romain Naour <romain.naour at openwide.fr>
---
 package/gnupg2/gnupg2.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk
index 1e3506a..e0c130b 100644
--- a/package/gnupg2/gnupg2.mk
+++ b/package/gnupg2/gnupg2.mk
@@ -27,4 +27,10 @@ endef
 GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV2
 endif
 
+ifeq ($(BR2_PACKAGE_BZIP2),y)
+GNUPG2_DEPENDENCIES += bzip2
+else
+GNUPG2_CONF_OPT += --disable-bzip2
+endif
+
 $(eval $(autotools-package))
-- 
1.9.3



More information about the buildroot mailing list