2013-03-01 14:38:28 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libgpgme
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-10-13 03:07:23 +02:00
|
|
|
LIBGPGME_VERSION = 1.7.0
|
2014-07-31 10:46:58 +02:00
|
|
|
LIBGPGME_SITE = ftp://ftp.gnupg.org/gcrypt/gpgme
|
2013-03-01 14:38:28 +01:00
|
|
|
LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2
|
|
|
|
LIBGPGME_LICENSE = LGPLv2.1+
|
|
|
|
LIBGPGME_LICENSE_FILES = COPYING.LESSER
|
|
|
|
LIBGPGME_INSTALL_STAGING = YES
|
2013-07-31 20:59:46 +02:00
|
|
|
LIBGPGME_DEPENDENCIES = libassuan libgpg-error
|
2013-03-01 14:38:28 +01:00
|
|
|
|
|
|
|
# libgpgme, needs to know the gpg binary path on the target.
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBGPGME_CONF_OPTS = --with-gpg=/usr/bin/gpg \
|
2013-03-01 14:38:28 +01:00
|
|
|
--with-gpg-error-prefix=$(STAGING_DIR)/usr \
|
|
|
|
--with-libassuan-prefix=$(STAGING_DIR)/usr \
|
2014-07-12 15:08:01 +02:00
|
|
|
--disable-gpgsm-test \
|
|
|
|
--disable-gpgconf-test \
|
|
|
|
--disable-g13-test \
|
|
|
|
--disable-gpg-test
|
2013-07-31 20:59:46 +02:00
|
|
|
|
|
|
|
# Handle argp-standalone or it errors out during build
|
2015-08-08 00:47:18 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
2016-05-24 14:30:17 +02:00
|
|
|
# musl libc does not define error_t in errno.h, but argp.h does.
|
|
|
|
# Assume we have error_t to avoid collision with the argp.h error_t.
|
|
|
|
LIBGPGME_CONF_ENV += LIBS="-largp" ac_cv_type_error_t=yes
|
2013-07-31 20:59:46 +02:00
|
|
|
LIBGPGME_DEPENDENCIES += argp-standalone
|
|
|
|
endif
|
2013-03-01 14:38:28 +01:00
|
|
|
|
|
|
|
$(eval $(autotools-package))
|