mirror of https://git.wownero.com/dsc/mxe.git
Merge pull request #2205 from yshurik:gpgme
Update libgpg_error to 1.32, add libassuan, gpgme
This commit is contained in:
commit
96a42362fc
|
@ -0,0 +1,28 @@
|
|||
# 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.11.1
|
||||
$(PKG)_CHECKSUM := 2d1b111774d2e3dd26dcd7c251819ce4ef774ec5e566251eb9308fa7542fbd6f
|
||||
$(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 ./configure \
|
||||
$(MXE_CONFIGURE_OPTS) \
|
||||
--disable-nls \
|
||||
--disable-languages
|
||||
$(MAKE) -C '$(1)/src' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1)/src' -j 1 install
|
||||
endef
|
|
@ -0,0 +1,29 @@
|
|||
# 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.1
|
||||
$(PKG)_CHECKSUM := 47f96c37b4f2aac289f0bc1bacfa8bd8b4b209a488d3d15e2229cb6cc9b26449
|
||||
$(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)' && ./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
|
Loading…
Reference in New Issue