modules-$(CONFIG_GPG2) += libgcrypt libgcrypt_version := 1.8.2 libgcrypt_dir := libgcrypt-$(libgcrypt_version) libgcrypt_tar := libgcrypt-$(libgcrypt_version).tar.bz2 libgcrypt_url := https://gnupg.org/ftp/gcrypt/libgcrypt/$(libgcrypt_tar) libgcrypt_hash := c8064cae7558144b13ef0eb87093412380efa16c4ee30ad12ecb54886a524c07 libgcrypt_configure := ./configure \ $(CROSS_TOOLS) \ --host=x86_64-linux-musl \ --prefix "/" \ --disable-static \ --with-libgpg-error-prefix="$(INSTALL)" \ --disable-asm \ --disable-nls \ libgcrypt_target := $(MAKE_JOBS) \ DESTDIR="$(INSTALL)" \ $(CROSS_TOOLS) \ install \ libgcrypt_libraries := src/.libs/libgcrypt.so.20 libgcrypt_depends := libgpg-error $(musl_dep)