2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += libgpg-error
|
2021-07-18 17:34:20 +00:00
|
|
|
|
2024-05-14 16:44:11 +00:00
|
|
|
libgpg-error_version := 1.46
|
2018-01-05 21:09:07 +00:00
|
|
|
libgpg-error_dir := libgpg-error-$(libgpg-error_version)
|
|
|
|
libgpg-error_tar := libgpg-error-$(libgpg-error_version).tar.bz2
|
|
|
|
libgpg-error_url := https://gnupg.org/ftp/gcrypt/libgpg-error/$(libgpg-error_tar)
|
2024-05-14 16:44:11 +00:00
|
|
|
libgpg-error_hash := b7e11a64246bbe5ef37748de43b245abd72cfcd53c9ae5e7fc5ca59f1c81268d
|
2018-01-05 21:09:07 +00:00
|
|
|
|
2023-03-01 16:12:46 +00:00
|
|
|
libgpg-error_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 \
|
2024-01-29 03:55:11 +00:00
|
|
|
--prefix "/" \
|
2018-01-05 21:09:07 +00:00
|
|
|
--disable-doc \
|
2024-01-29 03:55:11 +00:00
|
|
|
--disable-languages \
|
|
|
|
--disable-nls \
|
|
|
|
--disable-static \
|
2018-01-05 21:09:07 +00:00
|
|
|
--disable-tests \
|
2023-03-24 00:04:02 +00:00
|
|
|
--enable-install-gpg-error-config \
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libgpg-error_target := $(MAKE_JOBS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
install \
|
|
|
|
|
2018-09-18 09:32:46 +00:00
|
|
|
libgpg-error_libraries := src/.libs/libgpg-error.so.0
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libgpg-error_depends := $(musl_dep)
|