heads/modules/libgcrypt

27 lines
713 B
Makefile
Raw Normal View History

2018-01-05 21:09:07 +00:00
modules-$(CONFIG_GPG2) += libgcrypt
libgcrypt_version := 1.8.6
2018-01-05 21:09:07 +00:00
libgcrypt_dir := libgcrypt-$(libgcrypt_version)
libgcrypt_tar := libgcrypt-$(libgcrypt_version).tar.bz2
libgcrypt_url := https://gnupg.org/ftp/gcrypt/libgcrypt/$(libgcrypt_tar)
libgcrypt_hash := 0cba2700617b99fc33864a0c16b1fa7fdf9781d9ed3509f5d767178e5fd7b975
2018-01-05 21:09:07 +00:00
libgcrypt_configure := \
2018-01-05 21:09:07 +00:00
$(CROSS_TOOLS) \
CFLAGS="-Os" \
./configure \
--host=$(MUSL_ARCH)-linux-musl \
2018-01-05 21:09:07 +00:00
--prefix "/" \
--disable-static \
--with-gpg-error-prefix="$(INSTALL)" \
2018-01-05 21:09:07 +00:00
--disable-asm \
2018-01-05 21:09:07 +00:00
libgcrypt_target := $(MAKE_JOBS) \
DESTDIR="$(INSTALL)" \
$(CROSS_TOOLS) \
install \
libgcrypt_libraries := src/.libs/libgcrypt.so.20
2018-01-05 21:09:07 +00:00
libgcrypt_depends := libgpg-error $(musl_dep)