Patchwork [2/4] Added the libksba package.

login
register
mail settings
Submitter Stijn Souffriau
Date May 19, 2012, 11:15 p.m.
Message ID <1337469304-27821-2-git-send-email-stijn.souffriau@essensium.com>
Download mbox | patch
Permalink /patch/160215/
State Rejected
Headers show

Comments

Stijn Souffriau - May 19, 2012, 11:15 p.m.
---
 package/Config.in          |    1 +
 package/libksba/Config.in  |    7 +++++++
 package/libksba/libksba.mk |   16 ++++++++++++++++
 3 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 package/libksba/Config.in
 create mode 100644 package/libksba/libksba.mk

Patch

diff --git a/package/Config.in b/package/Config.in
index 58c6624..d71136d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -279,6 +279,7 @@  source "package/gnutls/Config.in"
 source "package/libassuan/Config.in"
 source "package/libgcrypt/Config.in"
 source "package/libgpg-error/Config.in"
+source "package/libksba/Config.in"
 source "package/libnss/Config.in"
 source "package/openssl/Config.in"
 source "package/polarssl/Config.in"
diff --git a/package/libksba/Config.in b/package/libksba/Config.in
new file mode 100644
index 0000000..70b2094
--- /dev/null
+++ b/package/libksba/Config.in
@@ -0,0 +1,7 @@ 
+config BR2_PACKAGE_LIBKSBA
+	bool "libksba"
+	select BR2_PACKAGE_LIBGPG_ERROR
+	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..6ecd268
--- /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_DEPENDENCIES = libgpg-error
+
+LIBKSBA_CONF_OPT = \
+	--with-gpg-error-prefix=$(STAGING_DIR)/usr
+
+$(eval $(call AUTOTARGETS))