1 ################################################################################
5 ################################################################################
7 LIBGPGME_VERSION = 1.5.4
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
15 # libgpgme, needs to know the gpg binary path on the target.
16 LIBGPGME_CONF_OPTS = --with-gpg=/usr/bin/gpg \
17 --with-gpg-error-prefix=$(STAGING_DIR)/usr \
18 --with-libassuan-prefix=$(STAGING_DIR)/usr \
19 --disable-gpgsm-test \
20 --disable-gpgconf-test \
24 # Handle argp-standalone or it errors out during build
25 ifeq ($(BR2_PACKAGE_ARGP_STANDALONE)$(BR2_TOOLCHAIN_USES_UCLIBC),yy)
26 LIBGPGME_CONF_ENV += LIBS="-largp"
27 LIBGPGME_DEPENDENCIES += argp-standalone
30 $(eval $(autotools-package))