# This file is part of MXE. See LICENSE.md for licensing information. PKG := libassuan $(PKG)_WEBSITE := https://www.gnupg.org/related_software/libassuan/ $(PKG)_DESCR := libassuan $(PKG)_IGNORE := $(PKG)_VERSION := 2.5.7 $(PKG)_CHECKSUM := 0103081ffc27838a2e50479153ca105e873d3d65d8a9593282e9c94c7e6afb76 $(PKG)_SUBDIR := libassuan-$($(PKG)_VERSION) $(PKG)_FILE := libassuan-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := https://gnupg.org/ftp/gcrypt/libassuan/$($(PKG)_FILE) $(PKG)_URL_2 := https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libassuan/$($(PKG)_FILE) $(PKG)_DEPS := cc gettext libgpg_error define $(PKG)_UPDATE $(WGET) -q -O- 'https://gnupg.org/ftp/gcrypt/libassuan/' | \ $(SED) -n 's,.*libassuan-\([1-9]\.[1-9]\.[0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && GPG_ERROR_CONFIG=$(PREFIX)/bin/$(TARGET)-gpg-error-config ./configure \ $(MXE_CONFIGURE_OPTS) \ --disable-nls \ --disable-languages $(MAKE) -C '$(1)/src' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= $(MAKE) -C '$(1)/src' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= ln -sf '$(PREFIX)/$(TARGET)/bin/libassuan-config' '$(PREFIX)/bin/$(TARGET)-libassuan-config' endef