heads/modules/libgpg-error

30 lines
805 B
Makefile
Raw Normal View History

2018-01-05 21:09:07 +00:00
modules-$(CONFIG_GPG2) += libgpg-error
2023-03-24 00:04:02 +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)
2023-03-24 00:04:02 +00:00
libgpg-error_hash := b7e11a64246bbe5ef37748de43b245abd72cfcd53c9ae5e7fc5ca59f1c81268d
2018-01-05 21:09:07 +00:00
libgpg-error_configure := \
2018-01-05 21:09:07 +00:00
$(CROSS_TOOLS) \
CFLAGS="-Os" \
./configure \
2018-01-05 21:09:07 +00:00
--prefix "/" \
--host=$(MUSL_ARCH)-linux-musl \
2018-01-05 21:09:07 +00:00
--disable-static \
--disable-nls \
--disable-languages \
--disable-doc \
--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 \
libgpg-error_libraries := src/.libs/libgpg-error.so.0
2018-01-05 21:09:07 +00:00
libgpg-error_depends := $(musl_dep)