2018-01-05 21:09:07 +00:00
|
|
|
modules-$(CONFIG_GPG2) += npth
|
2018-10-05 01:32:04 +00:00
|
|
|
npth_version := 1.6
|
2018-01-05 21:09:07 +00:00
|
|
|
npth_dir := npth-$(npth_version)
|
|
|
|
npth_tar := npth-$(npth_version).tar.bz2
|
|
|
|
npth_url := https://gnupg.org/ftp/gcrypt/npth/$(npth_tar)
|
2018-10-05 01:32:04 +00:00
|
|
|
npth_hash := 1393abd9adcf0762d34798dc34fdcf4d0d22a8410721e76f1e3afcd1daa4e2d1
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
npth_configure := ./configure \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
--host x86_64-linux-musl \
|
|
|
|
--prefix "/" \
|
|
|
|
--disable-static \
|
|
|
|
--disable-nls \
|
|
|
|
--with-libgpg-error-prefix="$(INSTALL)" \
|
|
|
|
--disable-asm \
|
|
|
|
|
|
|
|
npth_target := $(MAKE_JOBS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
install \
|
|
|
|
|
2018-09-19 10:33:18 +00:00
|
|
|
npth_libraries := src/.libs/libnpth.so.0
|
2018-01-05 21:09:07 +00:00
|
|
|
|
|
|
|
npth_depends := libgpg-error $(musl_dep)
|