summaryrefslogtreecommitdiff
path: root/package/gnutls/gnutls.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gnutls/gnutls.mk')
-rw-r--r--package/gnutls/gnutls.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 4cda9976f..ce570d5f1 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -4,11 +4,12 @@
#
#############################################################
-GNUTLS_VERSION = 2.10.5
+GNUTLS_VERSION = 2.12.18
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_SITE = $(BR2_GNU_MIRROR)/gnutls
+GNUTLS_DEPENDENCIES = host-pkg-config libgcrypt
+GNUTLS_CONF_OPT = --with-libgcrypt --with-libgcrypt-prefix=$(STAGING_DIR)/usr \
+ --without-p11-kit
GNUTLS_INSTALL_STAGING = YES
$(eval $(call AUTOTARGETS))