Commit ac4e3c02 authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

nettle: add new package

parent 48483864
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -363,6 +363,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"
+9 −0
Original line number Diff line number Diff line
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/
+12 −0
Original line number Diff line number Diff line
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))