1 ################################################################################
5 ################################################################################
7 LIBGPG_ERROR_VERSION
= 1.26
8 LIBGPG_ERROR_SITE
= ftp
://ftp.gnupg.org
/gcrypt
/libgpg-error
9 LIBGPG_ERROR_LICENSE
= GPLv2
+, LGPLv2.1
+
10 LIBGPG_ERROR_LICENSE_FILES
= COPYING COPYING.LIB
11 LIBGPG_ERROR_INSTALL_STAGING
= YES
12 LIBGPG_ERROR_CONFIG_SCRIPTS
= gpg-error-config
14 ifeq ($(BR2_PACKAGE_GETTEXT
),y
)
15 LIBGPG_ERROR_DEPENDENCIES
+= gettext
18 define LIBGPG_ERROR_FIX_CROSS_COMPILATION
19 cd
$(@D
)/src
/syscfg
&& \
20 ln
-s lock-obj-pub.
$(call qstrip
, $(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG
)).h \
21 lock-obj-pub.
$(GNU_TARGET_NAME
).h
23 LIBGPG_ERROR_PRE_CONFIGURE_HOOKS
+= LIBGPG_ERROR_FIX_CROSS_COMPILATION
25 LIBGPG_ERROR_CONF_OPTS
= --disable-tests
27 $(eval
$(autotools-package
))