libgpg-error.mk 946 B

1234567891011121314151617181920212223242526272829
  1. ################################################################################
  2. #
  3. # libgpg-error
  4. #
  5. ################################################################################
  6. LIBGPG_ERROR_VERSION = 1.48
  7. LIBGPG_ERROR_SITE = https://www.gnupg.org/ftp/gcrypt/libgpg-error
  8. LIBGPG_ERROR_SOURCE = libgpg-error-$(LIBGPG_ERROR_VERSION).tar.bz2
  9. LIBGPG_ERROR_LICENSE = GPL-2.0+, LGPL-2.1+
  10. LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB
  11. LIBGPG_ERROR_CPE_ID_VENDOR = gnupg
  12. LIBGPG_ERROR_INSTALL_STAGING = YES
  13. LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config
  14. LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
  15. LIBGPG_ERROR_CONF_OPTS = \
  16. cross_compiling=yes \
  17. --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) \
  18. --enable-install-gpg-error-config \
  19. --disable-tests \
  20. --disable-languages
  21. ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
  22. LIBGPG_ERROR_CONF_OPTS += --enable-threads
  23. else
  24. LIBGPG_ERROR_CONF_OPTS += --disable-threads
  25. endif
  26. $(eval $(autotools-package))