Patchwork [1/5] Added the libassuan package.

login
register
mail settings
Submitter Stijn Souffriau
Date May 7, 2012, 8:59 p.m.
Message ID <1336424385-8933-1-git-send-email-stijn.souffriau@essensium.com>
Download mbox | patch
Permalink /patch/157462/
State Rejected
Headers show

Comments

Stijn Souffriau - May 7, 2012, 8:59 p.m.
---
 package/Config.in              |    1 +
 package/libassuan/Config.in    |    6 ++++++
 package/libassuan/libassuan.mk |   18 ++++++++++++++++++
 3 files changed, 25 insertions(+), 0 deletions(-)
 create mode 100644 package/libassuan/Config.in
 create mode 100644 package/libassuan/libassuan.mk
Thomas Petazzoni - May 8, 2012, 8:14 a.m.
Hello Stijn,

Thanks, we're making good progress here.

Le Mon,  7 May 2012 22:59:41 +0200,
Stijn Souffriau <stijn.souffriau@essensium.com> a écrit :

> @@ -281,6 +281,7 @@ source "package/libgpg-error/Config.in"
>  source "package/libnss/Config.in"
>  source "package/openssl/Config.in"
>  source "package/polarssl/Config.in"
> +source "package/libassuan/Config.in"

Entries should be ordered alphabetically.

> diff --git a/package/libassuan/Config.in b/package/libassuan/Config.in
> new file mode 100644
> index 0000000..3b188ec
> --- /dev/null
> +++ b/package/libassuan/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_LIBASSUAN
> +	bool "libassuan"

Since your package depends on libgpg-error, you need a

	select BR2_PACKAGE_LIBGPG_ERROR

here.

Otherwise, looks good.

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index b25f31a..4f05b1e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -281,6 +281,7 @@  source "package/libgpg-error/Config.in"
 source "package/libnss/Config.in"
 source "package/openssl/Config.in"
 source "package/polarssl/Config.in"
+source "package/libassuan/Config.in"
 endmenu
 
 menu "Database"
diff --git a/package/libassuan/Config.in b/package/libassuan/Config.in
new file mode 100644
index 0000000..3b188ec
--- /dev/null
+++ b/package/libassuan/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_LIBASSUAN
+	bool "libassuan"
+	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..d2a018a
--- /dev/null
+++ b/package/libassuan/libassuan.mk
@@ -0,0 +1,18 @@ 
+#############################################################
+#
+# 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 = \
+	--disable-optimization \
+	--with-gpg-error-prefix=$(STAGING_DIR)/usr
+
+LIBASSUAN_DEPENDENCIES = libgpg-error
+
+$(eval $(call AUTOTARGETS))