package: add gnutls

[Peter: move to crypto section]
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Daniel Mack 2011-07-11 15:34:27 +02:00 committed by Peter Korsgaard
parent 50b6219785
commit 9c6106f104
3 changed files with 23 additions and 0 deletions

View File

@ -248,6 +248,7 @@ endmenu
menu "Crypto"
source "package/beecrypt/Config.in"
source "package/gnutls/Config.in"
source "package/libgcrypt/Config.in"
source "package/libgpg-error/Config.in"
source "package/libnss/Config.in"

8
package/gnutls/Config.in Normal file
View File

@ -0,0 +1,8 @@
config BR2_PACKAGE_GNUTLS
bool "gnutls"
select BR2_PACKAGE_LIBGCRYPT
help
GnuTLS is a secure communications library implementing the SSL
and TLS protocols and technologies around them.
http://www.gnu.org/software/gnutls/gnutls.html

14
package/gnutls/gnutls.mk Normal file
View File

@ -0,0 +1,14 @@
#############################################################
#
# gnutls
#
#############################################################
GNUTLS_VERSION = 2.8.6
GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.bz2
GNUTLS_SITE = http://ftp.gnu.org/gnu/gnutls/
GNUTLS_DEPENDENCIES = libgcrypt
GNUTLS_CONF_OPT += --without-libgcrypt-prefix
GNUTLS_INSTALL_STAGING = YES
$(eval $(call AUTOTARGETS,package,gnutls))