All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] nettle: add new package
@ 2012-12-28 20:01 Gustavo Zacarias
  2012-12-28 20:37 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2012-12-28 20:01 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/Config.in        |    1 +
 package/nettle/Config.in |    9 +++++++++
 package/nettle/nettle.mk |   12 ++++++++++++
 3 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 package/nettle/Config.in
 create mode 100644 package/nettle/nettle.mk

diff --git a/package/Config.in b/package/Config.in
index 6d64e2c..301b52a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -364,6 +364,7 @@ source "package/gnutls/Config.in"
 source "package/libgcrypt/Config.in"
 source "package/libgpg-error/Config.in"
 source "package/libnss/Config.in"
+source "package/nettle/Config.in"
 source "package/ocf-linux/Config.in"
 source "package/openssl/Config.in"
 source "package/polarssl/Config.in"
diff --git a/package/nettle/Config.in b/package/nettle/Config.in
new file mode 100644
index 0000000..5577621
--- /dev/null
+++ b/package/nettle/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_NETTLE
+	bool "nettle"
+	select BR2_PACKAGE_GMP
+	help
+	  Nettle is a cryptographic library that is designed to fit easily
+	  in more or less any context: In crypto toolkits for object-oriented
+	  languages, in applications like LSH or GNUPG, or even in kernel space
+
+	  http://www.lysator.liu.se/~nisse/nettle/
diff --git a/package/nettle/nettle.mk b/package/nettle/nettle.mk
new file mode 100644
index 0000000..ef7640a
--- /dev/null
+++ b/package/nettle/nettle.mk
@@ -0,0 +1,12 @@
+NETTLE_VERSION = 2.5
+NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive
+NETTLE_DEPENDENCIES = gmp
+NETTLE_INSTALL_STAGING = YES
+
+define NETTLE_DITCH_DEBUGGING_CFLAGS
+	$(SED) '/CFLAGS/ s/ -ggdb3//' $(@D)/configure
+endef
+
+NETTLE_POST_EXTRACT_HOOKS += NETTLE_DITCH_DEBUGGING_CFLAGS
+
+$(eval $(autotools-package))
-- 
1.7.8.6

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] nettle: add new package
  2012-12-28 20:01 [Buildroot] [PATCH] nettle: add new package Gustavo Zacarias
@ 2012-12-28 20:37 ` Peter Korsgaard
  2012-12-28 20:40   ` Gustavo Zacarias
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2012-12-28 20:37 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

Care to send a followup patch adding LICENSE info?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] nettle: add new package
  2012-12-28 20:37 ` Peter Korsgaard
@ 2012-12-28 20:40   ` Gustavo Zacarias
  0 siblings, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2012-12-28 20:40 UTC (permalink / raw)
  To: buildroot

On 12/28/2012 05:37 PM, Peter Korsgaard wrote:

> Committed, thanks.
> 
> Care to send a followup patch adding LICENSE info?

Sure, the gnutls3 patchset has been sitting from before the 2012.11
release pending some details (like this one) :)
Sent.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-28 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 20:01 [Buildroot] [PATCH] nettle: add new package Gustavo Zacarias
2012-12-28 20:37 ` Peter Korsgaard
2012-12-28 20:40   ` Gustavo Zacarias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.