|
@@ -12,9 +12,7 @@ GNUPG2_LICENSE_FILES = COPYING
|
|
GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libnpth \
|
|
GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libnpth \
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv) host-pkgconf
|
|
$(if $(BR2_PACKAGE_LIBICONV),libiconv) host-pkgconf
|
|
|
|
|
|
-# Keep the gpg2 binary name to avoid conflict with gnupg
|
|
|
|
GNUPG2_CONF_OPTS = \
|
|
GNUPG2_CONF_OPTS = \
|
|
- --enable-gpg-is-gpg2 \
|
|
|
|
--disable-rpath --disable-regex --disable-doc \
|
|
--disable-rpath --disable-regex --disable-doc \
|
|
--with-libgpg-error-prefix=$(STAGING_DIR)/usr \
|
|
--with-libgpg-error-prefix=$(STAGING_DIR)/usr \
|
|
--with-libgcrypt-prefix=$(STAGING_DIR)/usr \
|
|
--with-libgcrypt-prefix=$(STAGING_DIR)/usr \
|
|
@@ -22,11 +20,11 @@ GNUPG2_CONF_OPTS = \
|
|
--with-ksba-prefix=$(STAGING_DIR)/usr \
|
|
--with-ksba-prefix=$(STAGING_DIR)/usr \
|
|
--with-npth-prefix=$(STAGING_DIR)/usr
|
|
--with-npth-prefix=$(STAGING_DIR)/usr
|
|
|
|
|
|
-ifneq ($(BR2_PACKAGE_GNUPG2_GPGV2),y)
|
|
|
|
-define GNUPG2_REMOVE_GPGV2
|
|
|
|
- rm -f $(TARGET_DIR)/usr/bin/gpgv2
|
|
|
|
|
|
+ifneq ($(BR2_PACKAGE_GNUPG2_GPGV),y)
|
|
|
|
+define GNUPG2_REMOVE_GPGV
|
|
|
|
+ rm -f $(TARGET_DIR)/usr/bin/gpgv
|
|
endef
|
|
endef
|
|
-GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV2
|
|
|
|
|
|
+GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV
|
|
endif
|
|
endif
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
|
ifeq ($(BR2_PACKAGE_BZIP2),y)
|