Patchwork [2/5] Added the libksba package.

login
register
mail settings
Submitter Stijn Souffriau
Date May 9, 2012, 9:29 p.m.
Message ID <1336598986-9518-2-git-send-email-stijn.souffriau@essensium.com>
Download mbox | patch
Permalink /patch/158046/
State Rejected
Headers show

Comments

Stijn Souffriau - May 9, 2012, 9:29 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
Gustavo Zacarias - May 10, 2012, 10:41 a.m.
On 2012-05-09 18:29, Stijn Souffriau wrote:

> +LIBKSBA_CONF_OPT = \
> +	--disable-optimization \
> +	--with-gpg-error-prefix=$(STAGING_DIR)/usr
> +
> +$(eval $(call AUTOTARGETS))

LIBKSBA_DEPENDENCIES = libgpg-error
and
select BR2_PACKAGE_LIBGPG_ERROR in Config.in maybe?
Regards.

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..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))