1ecaf17202
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 6f663219d0
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
30 lines
946 B
Makefile
30 lines
946 B
Makefile
################################################################################
|
|
#
|
|
# libgpg-error
|
|
#
|
|
################################################################################
|
|
|
|
LIBGPG_ERROR_VERSION = 1.48
|
|
LIBGPG_ERROR_SITE = https://www.gnupg.org/ftp/gcrypt/libgpg-error
|
|
LIBGPG_ERROR_SOURCE = libgpg-error-$(LIBGPG_ERROR_VERSION).tar.bz2
|
|
LIBGPG_ERROR_LICENSE = GPL-2.0+, LGPL-2.1+
|
|
LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB
|
|
LIBGPG_ERROR_CPE_ID_VENDOR = gnupg
|
|
LIBGPG_ERROR_INSTALL_STAGING = YES
|
|
LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config
|
|
LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
|
LIBGPG_ERROR_CONF_OPTS = \
|
|
cross_compiling=yes \
|
|
--host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) \
|
|
--enable-install-gpg-error-config \
|
|
--disable-tests \
|
|
--disable-languages
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
LIBGPG_ERROR_CONF_OPTS += --enable-threads
|
|
else
|
|
LIBGPG_ERROR_CONF_OPTS += --disable-threads
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|