package/ecryptfs-utils: add libgpgme optional dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-06-13 22:31:13 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent f90061fc38
commit e122d962a1

View File

@ -16,6 +16,15 @@ ECRYPTFS_UTILS_CONF_OPTS = --disable-pywrap
ECRYPTFS_UTILS_CONF_ENV = ac_cv_path_POD2MAN=true
ifeq ($(BR2_PACKAGE_LIBGPGME),y)
ECRYPTFS_UTILS_CONF_OPTS += \
--enable-gpg \
--with-gpgme-prefix=$(STAGING_DIR)/usr
ECRYPTFS_UTILS_DEPENDENCIES += libgpgme
else
ECRYPTFS_UTILS_CONF_OPTS += --disable-gpg
endif
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
ECRYPTFS_UTILS_CONF_OPTS += --enable-pam
ECRYPTFS_UTILS_DEPENDENCIES += linux-pam