2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += libassuan
|
2021-07-18 17:34:20 +00:00
|
|
|
|
2023-06-30 18:20:23 +00:00
|
|
|
libassuan_version := 2.5.6
|
2018-01-05 21:09:07 +00:00
|
|
|
libassuan_dir := libassuan-$(libassuan_version)
|
|
|
|
libassuan_tar := libassuan-$(libassuan_version).tar.bz2
|
|
|
|
libassuan_url := https://gnupg.org/ftp/gcrypt/libassuan/$(libassuan_tar)
|
2023-06-30 18:20:23 +00:00
|
|
|
libassuan_hash := e9fd27218d5394904e4e39788f9b1742711c3e6b41689a31aa3380bd5aa4f426
|
2018-01-05 21:09:07 +00:00
|
|
|
|
2023-03-01 16:12:46 +00:00
|
|
|
libassuan_configure := \
|
|
|
|
CFLAGS="-Os" \
|
2018-01-05 21:09:07 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2023-03-01 16:12:46 +00:00
|
|
|
./configure \
|
2021-07-18 17:34:20 +00:00
|
|
|
--host $(MUSL_ARCH)-linux-musl \
|
2018-01-05 21:09:07 +00:00
|
|
|
--prefix "/" \
|
2023-06-26 12:46:30 +00:00
|
|
|
--disable-doc \
|
2024-01-29 03:55:11 +00:00
|
|
|
--disable-static \
|
2023-06-30 18:20:23 +00:00
|
|
|
--with-libgpg-error-prefix="$(INSTALL)" \
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libassuan_target := $(MAKE_JOBS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
install \
|
|
|
|
|
2018-09-18 09:32:46 +00:00
|
|
|
libassuan_libraries := src/.libs/libassuan.so.0
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libassuan_depends := libgpg-error $(musl_dep)
|