2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += libksba
|
2021-07-18 17:34:20 +00:00
|
|
|
|
2024-05-14 16:44:11 +00:00
|
|
|
libksba_version := 1.6.3
|
2018-01-05 21:09:07 +00:00
|
|
|
libksba_dir := libksba-$(libksba_version)
|
|
|
|
libksba_tar := libksba-$(libksba_version).tar.bz2
|
|
|
|
libksba_url := https://gnupg.org/ftp/gcrypt/libksba/$(libksba_tar)
|
2024-05-14 16:44:11 +00:00
|
|
|
libksba_hash := 3f72c68db30971ebbf14367527719423f0a4d5f8103fc9f4a1c01a9fa440de5c
|
2018-01-05 21:09:07 +00:00
|
|
|
|
2023-03-01 16:12:46 +00:00
|
|
|
libksba_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 \
|
2018-01-05 21:09:07 +00:00
|
|
|
--prefix "/" \
|
|
|
|
--disable-static \
|
2024-05-14 16:44:11 +00:00
|
|
|
--with-gpg-error-prefix="$(INSTALL)" \
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libksba_target := $(MAKE_JOBS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
install \
|
|
|
|
|
2018-09-19 10:33:18 +00:00
|
|
|
libksba_libraries := src/.libs/libksba.so.8
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
libksba_depends := libgpg-error $(musl_dep)
|