2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += libksba
|
2021-07-18 17:34:20 +00:00
|
|
|
|
2023-06-30 18:20:23 +00:00
|
|
|
libksba_version := 1.6.4
|
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)
|
2023-06-30 18:20:23 +00:00
|
|
|
libksba_hash := bbb43f032b9164d86c781ffe42213a83bf4f2fee91455edfa4654521b8b03b6b
|
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 \
|
2023-06-30 18:20:23 +00:00
|
|
|
--with-libgpg-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)
|