# This file is part of MXE. See LICENSE.md for licensing information. PKG := gpgme $(PKG)_WEBSITE := https://www.gnupg.org/related_software/gpgme/ $(PKG)_DESCR := gpgme $(PKG)_IGNORE := $(PKG)_VERSION := 1.14.0 $(PKG)_CHECKSUM := cef1f710a6b0d28f5b44242713ad373702d1466dcbe512eb4e754d7f35cd4307 $(PKG)_SUBDIR := gpgme-$($(PKG)_VERSION) $(PKG)_FILE := gpgme-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := https://gnupg.org/ftp/gcrypt/gpgme/$($(PKG)_FILE) $(PKG)_URL_2 := https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gpgme/$($(PKG)_FILE) $(PKG)_DEPS := cc gettext libgpg_error libassuan define $(PKG)_UPDATE $(WGET) -q -O- 'https://gnupg.org/ftp/gcrypt/gpgme/' | \ $(SED) -n 's,.*gpgme-\([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 LIBASSUAN_CONFIG='$(PREFIX)/bin/$(TARGET)-libassuan-config' ./configure \ $(MXE_CONFIGURE_OPTS) \ --disable-nls \ --disable-languages $(MAKE) -C '$(1)/src' -j '$(JOBS)' $(MAKE) -C '$(1)/src' -j 1 install endef