Patchwork [2/5] Added the libksba package.

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

Comments

Stijn Souffriau - May 7, 2012, 8:59 p.m.
---
 package/Config.in          |    1 +
 package/libksba/Config.in  |    6 ++++++
 package/libksba/libksba.mk |   16 ++++++++++++++++
 3 files changed, 23 insertions(+), 0 deletions(-)
 create mode 100644 package/libksba/Config.in
 create mode 100644 package/libksba/libksba.mk
Thomas Petazzoni - May 8, 2012, 8:15 a.m.
Le Mon,  7 May 2012 22:59:42 +0200,
Stijn Souffriau <stijn.souffriau@essensium.com> a écrit :

> @@ -282,6 +282,7 @@ source "package/libnss/Config.in"
>  source "package/openssl/Config.in"
>  source "package/polarssl/Config.in"
>  source "package/libassuan/Config.in"
> +source "package/libksba/Config.in"

Entries should be ordered alphabetically.

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index 4f05b1e..235e087 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -282,6 +282,7 @@  source "package/libnss/Config.in"
 source "package/openssl/Config.in"
 source "package/polarssl/Config.in"
 source "package/libassuan/Config.in"
+source "package/libksba/Config.in"
 endmenu
 
 menu "Database"
diff --git a/package/libksba/Config.in b/package/libksba/Config.in
new file mode 100644
index 0000000..b13982a
--- /dev/null
+++ b/package/libksba/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_LIBKSBA
+	bool "libksba"
+	help
+	  Libksba is a CMS and X.509 access library under development.
+
+	  http://gnupg.org/
diff --git a/package/libksba/libksba.mk b/package/libksba/libksba.mk
new file mode 100644
index 0000000..bebd352
--- /dev/null
+++ b/package/libksba/libksba.mk
@@ -0,0 +1,16 @@ 
+#############################################################
+#
+# libksba
+#
+#############################################################
+
+LIBKSBA_VERSION = 1.2.0
+LIBKSBA_SOURCE = libksba-$(LIBKSBA_VERSION).tar.bz2
+LIBKSBA_SITE = ftp://ftp.gnupg.org/gcrypt/libksba/
+LIBKSBA_INSTALL_STAGING = YES
+
+LIBKSBA_CONF_OPT = \
+	--disable-optimization \
+	--with-gpg-error-prefix=$(STAGING_DIR)/usr
+
+$(eval $(call AUTOTARGETS))