Patchwork [resend,1/4] Added the libassuan package.

login
register
mail settings
Submitter Stijn Souffriau
Date June 2, 2012, 3:09 p.m.
Message ID <1338649758-11225-1-git-send-email-stijn.souffriau@essensium.com>
Download mbox | patch
Permalink /patch/162420/
State Rejected
Headers show

Comments

Stijn Souffriau - June 2, 2012, 3:09 p.m.
---
 package/Config.in              |    1 +
 package/libassuan/Config.in    |    7 +++++++
 package/libassuan/libassuan.mk |   17 +++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/libassuan/Config.in
 create mode 100644 package/libassuan/libassuan.mk

Patch

diff --git a/package/Config.in b/package/Config.in
index b25f31a..58c6624 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -276,6 +276,7 @@  endmenu
 menu "Crypto"
 source "package/beecrypt/Config.in"
 source "package/gnutls/Config.in"
+source "package/libassuan/Config.in"
 source "package/libgcrypt/Config.in"
 source "package/libgpg-error/Config.in"
 source "package/libnss/Config.in"
diff --git a/package/libassuan/Config.in b/package/libassuan/Config.in
new file mode 100644
index 0000000..93ab49c
--- /dev/null
+++ b/package/libassuan/Config.in
@@ -0,0 +1,7 @@ 
+config BR2_PACKAGE_LIBASSUAN
+	bool "libassuan"
+	select BR2_PACKAGE_LIBGPG_ERROR
+	help
+	  Libassuan is the IPC library used by some GnuPG related software.
+
+	  http://www.gnupg.org/
diff --git a/package/libassuan/libassuan.mk b/package/libassuan/libassuan.mk
new file mode 100644
index 0000000..73c098e
--- /dev/null
+++ b/package/libassuan/libassuan.mk
@@ -0,0 +1,17 @@ 
+#############################################################
+#
+# libassuan
+#
+#############################################################
+
+LIBASSUAN_VERSION = 2.0.3
+LIBASSUAN_SOURCE = libassuan-$(LIBASSUAN_VERSION).tar.bz2
+LIBASSUAN_SITE = ftp://ftp.gnupg.org/gcrypt/libassuan/
+LIBASSUAN_INSTALL_STAGING = YES
+
+LIBASSUAN_CONF_OPT = \
+	--with-gpg-error-prefix=$(STAGING_DIR)/usr
+
+LIBASSUAN_DEPENDENCIES = libgpg-error
+
+$(eval $(call AUTOTARGETS))