source "package/gnutls/Config.in"
source "package/libgcrypt/Config.in"
source "package/libgpg-error/Config.in"
+source "package/libgpgme/Config.in"
source "package/libassuan/Config.in"
source "package/libmcrypt/Config.in"
source "package/libmhash/Config.in"
--- /dev/null
+config BR2_PACKAGE_LIBGPGME
+ bool "libgpgme"
+ #gnupg is not needed to build, but at runtime.
+ select BR2_PACKAGE_GNUPG
+ select BR2_PACKAGE_LIBGPG_ERROR
+ select BR2_PACKAGE_LIBASSUAN
+ help
+ GnuPG Made Easy (GPGME) is a library designed to make access
+ to GnuPG easier for applications.
+
+ http://www.gnupg.org/related_software/gpgme/
--- /dev/null
+################################################################################
+#
+# libgpgme
+#
+################################################################################
+
+LIBGPGME_VERSION = 1.4.2
+LIBGPGME_SITE = ftp://ftp.gnupg.org/gcrypt/gpgme/
+LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2
+LIBGPGME_LICENSE = LGPLv2.1+
+LIBGPGME_LICENSE_FILES = COPYING.LESSER
+LIBGPGME_INSTALL_STAGING = YES
+
+# libgpgme, needs to know the gpg binary path on the target.
+LIBGPGME_CONF_OPT = --with-gpg=/usr/bin/gpg \
+ --with-gpg-error-prefix=$(STAGING_DIR)/usr \
+ --with-libassuan-prefix=$(STAGING_DIR)/usr \
+ --without-gpgsm \
+ --without-gpgconf \
+ --without-g13
+LIBGPGME_DEPENDENCIES = libassuan libgpg-error
+
+$(eval $(autotools-package))