summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-07-11 15:34:27 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-12 22:29:01 +0200
commit9c6106f10494e539f00b1fc117801171348bd4bd (patch)
treeb75d513460b61335e227894015b767d82faf418f /package
parent50b62197858f4171372341a97fdc33b28064cce6 (diff)
downloadbuildroot-novena-9c6106f10494e539f00b1fc117801171348bd4bd.tar.gz
buildroot-novena-9c6106f10494e539f00b1fc117801171348bd4bd.zip
package: add gnutls
[Peter: move to crypto section] Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/gnutls/Config.in8
-rw-r--r--package/gnutls/gnutls.mk14
3 files changed, 23 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index d87dcd8fc..aef701d8f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in
new file mode 100644
index 000000000..cedf120ee
--- /dev/null
+++ b/package/gnutls/Config.in
@@ -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
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
new file mode 100644
index 000000000..5f31e1e9d
--- /dev/null
+++ b/package/gnutls/gnutls.mk
@@ -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))