2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += libgcrypt
|
2021-07-18 17:34:20 +00:00
|
|
|
|
2023-06-30 18:20:23 +00:00
|
|
|
libgcrypt_version := 1.10.2
|
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)
|
2023-06-30 18:20:23 +00:00
|
|
|
libgcrypt_hash := 3b9c02a004b68c256add99701de00b383accccf37177e0d6c58289664cce0c03
|
2018-01-05 21:09:07 +00:00
|
|
|
|
2023-03-01 16:12:46 +00:00
|
|
|
libgcrypt_configure := \
|
2018-01-05 21:09:07 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2023-03-01 16:12:46 +00:00
|
|
|
CFLAGS="-Os" \
|
|
|
|
./configure \
|
2021-07-18 17:34:20 +00:00
|
|
|
--host=$(MUSL_ARCH)-linux-musl \
|
2018-01-05 21:09:07 +00:00
|
|
|
--prefix "/" \
|
2024-01-29 03:55:11 +00:00
|
|
|
--disable-doc \
|
2018-01-05 21:09:07 +00:00
|
|
|
--disable-static \
|
2023-06-30 18:20:23 +00:00
|
|
|
--with-libgpg-error-prefix="$(INSTALL)" \
|
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)
|