libgpgme: new package
authorPhilipp Claves <claves@budelmann-elektronik.com>
Fri, 1 Mar 2013 13:38:28 +0000 (14:38 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 31 Jul 2013 11:49:32 +0000 (13:49 +0200)
[Thomas: bump version, add --with-gpg-error-prefix and
--with-libassuan-prefix options.]

Signed-off-by: Philipp Claves <claves@budelmann-elektronik.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/libgpgme/Config.in [new file with mode: 0644]
package/libgpgme/libgpgme.mk [new file with mode: 0644]

index b6d6020ffd3dc6caf86d62b4a9be4d77c2473eab..61716937f731c59afe7391c8968c4723e8e5126a 100644 (file)
@@ -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 (file)
index 0000000..f97a3fe
--- /dev/null
@@ -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 (file)
index 0000000..ee983df
--- /dev/null
@@ -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))