1 ################################################################################
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
26 # Code doesn't build in thumb mode
28 LIBGCRYPT_CONF_ENV
+= CFLAGS
="$(patsubst -mthumb,,$(TARGET_CFLAGS))"
32 define LIBGCRYPT_DISABLE_TESTS
33 $(SED
) 's/ tests//' $(@D
)/Makefile.in
36 LIBGCRYPT_POST_PATCH_HOOKS
+= LIBGCRYPT_DISABLE_TESTS
38 $(eval
$(autotools-package
))