summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-07-11 13:34:27 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-07-12 20:29:01 (GMT)
commit9c6106f10494e539f00b1fc117801171348bd4bd (patch)
treeb75d513460b61335e227894015b767d82faf418f
parent50b62197858f4171372341a97fdc33b28064cce6 (diff)
downloadbuildroot-9c6106f10494e539f00b1fc117801171348bd4bd.tar.gz
buildroot-9c6106f10494e539f00b1fc117801171348bd4bd.tar.bz2
package: add gnutls
[Peter: move to crypto section] Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 d87dcd8..aef701d 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 0000000..cedf120
--- /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 0000000..5f31e1e
--- /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))