From: Philipp Claves Date: Fri, 1 Mar 2013 13:38:28 +0000 (+0100) Subject: libgpgme: new package X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61861a2ffbcc04bc641d0e42c659bcc810eee226;p=buildroot.git libgpgme: new package [Thomas: bump version, add --with-gpg-error-prefix and --with-libassuan-prefix options.] Signed-off-by: Philipp Claves Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index b6d6020ffd..61716937f7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -418,6 +418,7 @@ source "package/cryptodev/Config.in" 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" diff --git a/package/libgpgme/Config.in b/package/libgpgme/Config.in new file mode 100644 index 0000000000..f97a3fe892 --- /dev/null +++ b/package/libgpgme/Config.in @@ -0,0 +1,11 @@ +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/ diff --git a/package/libgpgme/libgpgme.mk b/package/libgpgme/libgpgme.mk new file mode 100644 index 0000000000..ee983df0f2 --- /dev/null +++ b/package/libgpgme/libgpgme.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# 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))