logrotate: enable selinux support
[buildroot-gz.git] / package / libgpg-error / libgpg-error.mk
blob5126c0a81ab8f281c1b721cb9bb528199663be9c
1 ################################################################################
3 # libgpg-error
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
16 endif
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
22 endef
23 LIBGPG_ERROR_PRE_CONFIGURE_HOOKS += LIBGPG_ERROR_FIX_CROSS_COMPILATION
25 LIBGPG_ERROR_CONF_OPTS = --disable-tests
27 $(eval $(autotools-package))