00f879faf5
Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
26 lines
901 B
Makefile
26 lines
901 B
Makefile
################################################################################
|
|
#
|
|
# libgpg-error
|
|
#
|
|
################################################################################
|
|
|
|
LIBGPG_ERROR_VERSION = 1.32
|
|
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_INSTALL_STAGING = YES
|
|
LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config
|
|
LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
|
|
|
|
define LIBGPG_ERROR_FIX_CROSS_COMPILATION
|
|
cd $(@D)/src/syscfg && \
|
|
ln -s lock-obj-pub.$(call qstrip, $(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG)).h \
|
|
lock-obj-pub.$(GNU_TARGET_NAME).h
|
|
endef
|
|
LIBGPG_ERROR_PRE_CONFIGURE_HOOKS += LIBGPG_ERROR_FIX_CROSS_COMPILATION
|
|
|
|
LIBGPG_ERROR_CONF_OPTS = --disable-tests
|
|
|
|
$(eval $(autotools-package))
|