2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += libassuan
|
2021-07-18 20:34:20 +03:00
|
|
|
|
2023-06-30 14:20:23 -04: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 14:20:23 -04:00
|
|
|
libassuan_hash := e9fd27218d5394904e4e39788f9b1742711c3e6b41689a31aa3380bd5aa4f426
|
2018-01-05 21:09:07 +00:00
|
|
|
|
2023-03-01 11:12:46 -05:00
|
|
|
libassuan_configure := \
|
|
|
|
CFLAGS="-Os" \
|
2018-01-05 21:09:07 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2023-03-01 11:12:46 -05:00
|
|
|
./configure \
|
2021-07-18 20:34:20 +03:00
|
|
|
--host $(MUSL_ARCH)-linux-musl \
|
2018-01-05 21:09:07 +00:00
|
|
|
--prefix "/" \
|
2023-06-26 08:46:30 -04:00
|
|
|
--disable-doc \
|
2024-01-28 22:55:11 -05:00
|
|
|
--disable-static \
|
2023-06-30 14:20:23 -04: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 05:32:46 -04:00
|
|
|
libassuan_libraries := src/.libs/libassuan.so.0
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libassuan_depends := libgpg-error $(musl_dep)
|