6cf0f2a7eb
Release notes: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=blob;f=NEWS;h=b767dc1170eb479b9a311cca4074c58e4eedaf0b;hb=aa1610866f8e42bdc272584f0a717f32ee050a22 https://dev.gnupg.org/T6817 Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
35 lines
1.0 KiB
Makefile
35 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# libgcrypt
|
|
#
|
|
################################################################################
|
|
|
|
LIBGCRYPT_VERSION = 1.10.3
|
|
LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2
|
|
LIBGCRYPT_LICENSE = LGPL-2.1+
|
|
LIBGCRYPT_LICENSE_FILES = COPYING.LIB
|
|
LIBGCRYPT_SITE = https://gnupg.org/ftp/gcrypt/libgcrypt
|
|
LIBGCRYPT_INSTALL_STAGING = YES
|
|
LIBGCRYPT_DEPENDENCIES = libgpg-error
|
|
LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config
|
|
LIBGCRYPT_CPE_ID_VENDOR = gnupg
|
|
|
|
# Patching configure.ac and Makefile.am in 0001
|
|
LIBGCRYPT_AUTORECONF = YES
|
|
LIBGCRYPT_CONF_OPTS = \
|
|
--disable-tests \
|
|
$(if $(BR2_OPTIMIZE_0),--disable-ppc-crypto-support,) \
|
|
--with-gpg-error-prefix=$(STAGING_DIR)/usr
|
|
|
|
# disable asm for broken archs
|
|
ifeq ($(BR2_i386)$(BR2_m68k_cf),y)
|
|
LIBGCRYPT_CONF_OPTS += --disable-asm
|
|
endif
|
|
|
|
# Code doesn't build in thumb mode
|
|
ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
|
|
LIBGCRYPT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -marm"
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|