2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += libgcrypt
|
2021-07-18 20:34:20 +03:00
|
|
|
|
2023-03-24 02:03:03 +01:00
|
|
|
libgcrypt_version := 1.10.1
|
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-03-24 02:03:03 +01:00
|
|
|
libgcrypt_hash := ef14ae546b0084cd84259f61a55e07a38c3b53afc0f546bffcef2f01baffe9de
|
2018-01-05 21:09:07 +00:00
|
|
|
|
2023-03-01 11:12:46 -05:00
|
|
|
libgcrypt_configure := \
|
2018-01-05 21:09:07 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2023-03-01 11:12:46 -05:00
|
|
|
CFLAGS="-Os" \
|
|
|
|
./configure \
|
2021-07-18 20:34:20 +03:00
|
|
|
--host=$(MUSL_ARCH)-linux-musl \
|
2018-01-05 21:09:07 +00:00
|
|
|
--prefix "/" \
|
|
|
|
--disable-static \
|
2020-10-26 10:19:57 -04:00
|
|
|
--with-gpg-error-prefix="$(INSTALL)" \
|
2023-03-24 02:03:03 +01:00
|
|
|
--disable-doc \
|
2020-01-16 09:36:42 -08:00
|
|
|
|
2018-01-05 21:09:07 +00:00
|
|
|
libgcrypt_target := $(MAKE_JOBS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
install \
|
|
|
|
|
2018-09-18 05:32:46 -04:00
|
|
|
libgcrypt_libraries := src/.libs/libgcrypt.so.20
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libgcrypt_depends := libgpg-error $(musl_dep)
|