python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / libgcrypt / libgcrypt.mk
bloba034358b3dfc603bc91955b2b4a91690e3ef0a6f
1 ################################################################################
3 # libgcrypt
5 ################################################################################
7 LIBGCRYPT_VERSION = 1.7.6
8 LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
9 LIBGCRYPT_LICENSE = LGPLv2.1+
10 LIBGCRYPT_LICENSE_FILES = COPYING.LIB
11 LIBGCRYPT_SITE = ftp://ftp.gnupg.org/gcrypt/libgcrypt
12 LIBGCRYPT_INSTALL_STAGING = YES
13 LIBGCRYPT_DEPENDENCIES = libgpg-error
14 LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config
16 LIBGCRYPT_CONF_ENV = \
17 ac_cv_sys_symbol_underscore=no
18 LIBGCRYPT_CONF_OPTS = \
19 --with-gpg-error-prefix=$(STAGING_DIR)/usr
21 # Libgcrypt doesn't support assembly for coldfire
22 ifeq ($(BR2_m68k_cf),y)
23 LIBGCRYPT_CONF_OPTS += --disable-asm
24 endif
26 # Code doesn't build in thumb mode
27 ifeq ($(BR2_arm),y)
28 LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))"
29 endif
31 # Tests use fork()
32 define LIBGCRYPT_DISABLE_TESTS
33 $(SED) 's/ tests//' $(@D)/Makefile.in
34 endef
36 LIBGCRYPT_POST_PATCH_HOOKS += LIBGCRYPT_DISABLE_TESTS
38 $(eval $(autotools-package))