79b44bdc4ebea108a9c442acec615669e4a5dba7
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libgpgme / libgpgme.mk
1 ################################################################################
2 #
3 # libgpgme
4 #
5 ################################################################################
6
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
14
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 \
21         --disable-g13-test \
22         --disable-gpg-test
23
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
28 endif
29
30 $(eval $(autotools-package))