package: add gnutls
authorDaniel Mack <zonque@gmail.com>
Mon, 11 Jul 2011 13:34:27 +0000 (15:34 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 12 Jul 2011 20:29:01 +0000 (22:29 +0200)
[Peter: move to crypto section]
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/gnutls/Config.in [new file with mode: 0644]
package/gnutls/gnutls.mk [new file with mode: 0644]

index d87dcd8fc1a5eab9372ae3d2abadc63d14d23f61..aef701d8f8ef713b77ec746e3e7c24661306acd3 100644 (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"
diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in
new file mode 100644 (file)
index 0000000..cedf120
--- /dev/null
@@ -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 (file)
index 0000000..5f31e1e
--- /dev/null
@@ -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))