2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += libgcrypt
|
2020-05-22 19:13:06 +00:00
|
|
|
libgcrypt_version := 1.8.5
|
2018-01-05 21:09:07 +00:00
|
|
|
libgcrypt_dir := libgcrypt-$(libgcrypt_version)
|
|
|
|
libgcrypt_tar := libgcrypt-$(libgcrypt_version).tar.bz2
|
|
|
|
libgcrypt_url := https://gnupg.org/ftp/gcrypt/libgcrypt/$(libgcrypt_tar)
|
2020-05-22 19:13:06 +00:00
|
|
|
libgcrypt_hash := 3b4a2a94cb637eff5bdebbcaf46f4d95c4f25206f459809339cdada0eb577ac3
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libgcrypt_configure := ./configure \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
--host=x86_64-linux-musl \
|
|
|
|
--prefix "/" \
|
|
|
|
--disable-static \
|
2020-05-22 19:13:06 +00:00
|
|
|
--with-gpg-error-prefix="$(INSTALL)" \
|
2018-01-05 21:09:07 +00:00
|
|
|
--disable-asm \
|
2020-01-16 17:36:42 +00:00
|
|
|
|
2018-01-05 21:09:07 +00:00
|
|
|
libgcrypt_target := $(MAKE_JOBS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
install \
|
|
|
|
|
2018-09-18 09:32:46 +00:00
|
|
|
libgcrypt_libraries := src/.libs/libgcrypt.so.20
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libgcrypt_depends := libgpg-error $(musl_dep)
|