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