2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-07-17 20:11:55 +02:00
|
|
|
#
|
|
|
|
# libgpg-error
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-07-17 20:11:55 +02:00
|
|
|
|
2017-03-12 12:33:24 +01:00
|
|
|
LIBGPG_ERROR_VERSION = 1.27
|
2011-11-11 20:04:54 +01:00
|
|
|
LIBGPG_ERROR_SITE = ftp://ftp.gnupg.org/gcrypt/libgpg-error
|
2017-03-30 15:43:34 +02:00
|
|
|
LIBGPG_ERROR_LICENSE = GPL-2.0+, LGPL-2.1+
|
2016-07-04 01:48:34 +02:00
|
|
|
LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB
|
2010-06-16 13:47:19 +02:00
|
|
|
LIBGPG_ERROR_INSTALL_STAGING = YES
|
2013-02-07 13:35:07 +01:00
|
|
|
LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config
|
2016-07-04 01:48:34 +02:00
|
|
|
|
2016-08-25 22:13:35 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GETTEXT),y)
|
|
|
|
LIBGPG_ERROR_DEPENDENCIES += gettext
|
|
|
|
endif
|
|
|
|
|
2016-07-04 01:48:34 +02:00
|
|
|
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
|
2007-07-17 20:11:55 +02:00
|
|
|
|
2016-07-15 14:43:26 +02:00
|
|
|
LIBGPG_ERROR_CONF_OPTS = --disable-tests
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|