2 GCRYPT_VERSION
:= 1.6.0
3 GCRYPT_URL
:= ftp
://ftp.gnupg.org
/gcrypt
/libgcrypt
/libgcrypt-
$(GCRYPT_VERSION
).
tar.bz2
7 $(TARBALLS
)/libgcrypt-
$(GCRYPT_VERSION
).
tar.bz2
:
8 $(call download
,$(GCRYPT_URL
))
10 .sum-gcrypt
: libgcrypt-
$(GCRYPT_VERSION
).
tar.bz2
12 libgcrypt
: libgcrypt-
$(GCRYPT_VERSION
).
tar.bz2 .sum-gcrypt
16 DEPS_gcrypt
= gpg-error
19 --enable-ciphers
=aes
,des
,rfc2268
,arcfour \
20 --enable-digests
=sha1
,md5
,rmd160
,sha256
,sha512 \
21 --enable-pubkey-ciphers
=dsa
,rsa
,ecc
23 GCRYPT_CONF
+= --disable-asm
26 GCRYPT_EXTRA_CFLAGS
= -fheinous-gnu-extensions
31 GCRYPT_CONF
+= --disable-aesni-support
34 GCRYPT_CONF
+= --disable-asm
--disable-aesni-support
38 ifeq ($(ANDROID_ABI
), x86
)
39 GCRYPT_CONF
+= ac_cv_sys_symbol_underscore
=no
45 cd
$< && $(HOSTVARS
) CFLAGS
="$(CFLAGS) $(GCRYPT_EXTRA_CFLAGS)" .
/configure
$(HOSTCONF
) $(GCRYPT_CONF
)
46 cd
$< && $(MAKE
) install