python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / libgpgme / libgpgme.mk
blob84f4d22977f74a40650dd740d0f70bef970bc71f
1 ################################################################################
3 # libgpgme
5 ################################################################################
7 LIBGPGME_VERSION = 1.7.1
8 LIBGPGME_SITE = ftp://ftp.gnupg.org/gcrypt/gpgme
9 LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2
10 LIBGPGME_LICENSE = LGPLv2.1+
11 LIBGPGME_LICENSE_FILES = COPYING.LESSER
12 LIBGPGME_INSTALL_STAGING = YES
13 LIBGPGME_DEPENDENCIES = libassuan libgpg-error
14 LIBGPGME_LANGUAGE_BINDINGS = cl
16 # libgpgme, needs to know the gpg binary path on the target.
17 LIBGPGME_CONF_OPTS = --with-gpg=/usr/bin/gpg \
18 --with-gpg-error-prefix=$(STAGING_DIR)/usr \
19 --with-libassuan-prefix=$(STAGING_DIR)/usr \
20 --disable-gpgsm-test \
21 --disable-gpgconf-test \
22 --disable-g13-test \
23 --disable-gpg-test \
24 --enable-languages=$(LIBGPGME_LANGUAGE_BINDINGS)
26 # C++ bindings require a C++11 capable gcc
27 ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),yy)
28 LIBGPGME_LANGUAGE_BINDINGS := $(LIBGPGME_LANGUAGE_BINDINGS),cpp
29 endif
31 # Handle argp-standalone or it errors out during build
32 ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
33 # musl libc does not define error_t in errno.h, but argp.h does.
34 # Assume we have error_t to avoid collision with the argp.h error_t.
35 LIBGPGME_CONF_ENV += LIBS="-largp" ac_cv_type_error_t=yes
36 LIBGPGME_DEPENDENCIES += argp-standalone
37 endif
39 $(eval $(autotools-package))