@@ -438,6 +438,7 @@ endmenu
endmenu
menu "Miscellaneous"
+source "package/gnupg/Config.in"
source "package/shared-mime-info/Config.in"
endmenu
new file mode 100644
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_GNUPG
+ bool "gnupg"
+ select BR2_PACKAGE_LIBGPG_ERROR
+ select BR2_PACKAGE_LIBGCRYPT
+ select BR2_PACKAGE_LIBKSBA
+ select BR2_PACKAGE_LIBASSUAN
+ select BR2_PACKAGE_LIBPTH
+ select BR2_PACKAGE_ZLIB
+ help
+ GnuPG 2.0 is the new modularized version of GnuPG supporting OpenPGP and S/MIME
+
+ http://www.gnupg.org/
new file mode 100644
@@ -0,0 +1,31 @@
+From 53a02ec3a77ecd0d57660a55c55764bdc0063ec1 Mon Sep 17 00:00:00 2001
+From: Stijn Souffriau <stijn.souffriau@essensium.com>
+Date: Sun, 6 May 2012 23:19:38 +0200
+Subject: [PATCH] removed autogenerated stdint.h
+
+---
+ gl/Makefile.in | 7 +++----
+ 1 files changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/gl/Makefile.in b/gl/Makefile.in
+index 7cc38e0..df06b73 100644
+--- a/gl/Makefile.in
++++ b/gl/Makefile.in
+@@ -298,11 +298,10 @@ libgnu_a_SOURCES = allocsa.h allocsa.c mkdtemp.h setenv.h size_max.h \
+ strpbrk.h xsize.h
+ libgnu_a_LIBADD = $(LIBOBJS)
+ noinst_HEADERS =
+-EXTRA_DIST = alloca_.h allocsa.valgrind stdint_.h
+-BUILT_SOURCES = $(ALLOCA_H) $(STDINT_H) $(UNISTD_H)
++EXTRA_DIST = alloca_.h allocsa.valgrind
++BUILT_SOURCES = $(ALLOCA_H) $(UNISTD_H)
+ SUFFIXES =
+-MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t stdint.h \
+- stdint.h-t unistd.h
++MOSTLYCLEANFILES = core *.stackdump alloca.h alloca.h-t unistd.h
+ MOSTLYCLEANDIRS =
+ CLEANFILES =
+ DISTCLEANFILES =
+--
+1.7.0.4
+
new file mode 100644
@@ -0,0 +1,23 @@
+#############################################################
+#
+# libgpg-error
+#
+#############################################################
+GNUPG_VERSION = 2.0.19
+GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2
+GNUPG_SITE = ftp://ftp.gnupg.org/gcrypt/gnupg/
+GNUPG_DEPENDENCIES= libgpg-error libgcrypt libassuan libksba libpth zlib libiconv
+
+GNUPG_INSTALL_STAGING = YES
+
+GNUPG_CONF_OPT = \
+ --disable-optimization \
+ --with-gpg-error-prefix=$(STAGING_DIR)/usr \
+ --with-libgcrypt-prefix=$(STAGING_DIR)/usr \
+ --with-libassuan-prefix=$(STAGING_DIR)/usr \
+ --with-ksba-prefix=$(STAGING_DIR)/usr \
+ --with-pth-prefix=$(STAGING_DIR)/usr \
+ --with-zlib=$(STAGING_DIR)/usr/lib \
+ --with-libiconv-prefix=$(STAGING_DIR)/usr
+
+$(eval $(call AUTOTARGETS))