kumquat-buildroot/package/libgpg-error/libgpg-error.mk
Bernd Kuhls 3a22b00999 package/libgpg-error: add configure option to install gpg-error-config
Upstream commit[1]

https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commitdiff;h=0b47de9c719b0ed0da0791f0525de073737bde5a

changed behaviour: "gpg-error-config is now only installed when enabled"

Fixes:
http://autobuild.buildroot.net/results/bc1/bc1566a0fa42f68f1f15f74a61d4081e269e1689/

[1] included in version 1.46, added in buildroot with commit b5bdcb4cc5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-01-06 08:50:48 +01:00

29 lines
923 B
Makefile

################################################################################
#
# libgpg-error
#
################################################################################
LIBGPG_ERROR_VERSION = 1.46
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 = \
--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))