3 GNUTLS_VERSION
:= 3.3.22
4 GNUTLS_URL
:= ftp
://ftp.gnutls.org
/gcrypt
/gnutls
/v3.3
/gnutls-
$(GNUTLS_VERSION
).
tar.xz
11 ifeq ($(call need_pkg
,"gnutls >= 3.2.0"),)
15 $(TARBALLS
)/gnutls-
$(GNUTLS_VERSION
).
tar.xz
:
16 $(call download
,$(GNUTLS_URL
))
18 .sum-gnutls
: gnutls-
$(GNUTLS_VERSION
).
tar.xz
20 gnutls
: gnutls-
$(GNUTLS_VERSION
).
tar.xz .sum-gnutls
23 $(APPLY
) $(SRC
)/gnutls
/gnutls-win32.patch
24 $(APPLY
) $(SRC
)/gnutls
/gnutls-mingw64.patch
26 $(APPLY
) $(SRC
)/gnutls
/gnutls-winrt.patch
27 $(APPLY
) $(SRC
)/gnutls
/winrt-topendir.patch
31 $(APPLY
) $(SRC
)/gnutls
/no-create-time-h.patch
33 $(APPLY
) $(SRC
)/gnutls
/read-file-limits.h.patch
34 $(APPLY
) $(SRC
)/gnutls
/mac-keychain-lookup.patch
36 $(APPLY
) $(SRC
)/gnutls
/gnutls-pkgconfig-osx.patch
38 $(call pkg_static
,"lib/gnutls.pc.in")
46 --disable-srp-authentication \
47 --disable-psk-authentication-FIXME \
48 --disable-anon-authentication \
49 --disable-openpgp-authentication \
50 --disable-openssl-compatibility \
53 --without-libintl-prefix \
58 GNUTLS_ENV
:= $(HOSTVARS
)
60 DEPS_gnutls
= nettle
$(DEPS_nettle
)
63 GNUTLS_ENV
+= gl_cv_header_working_stdint_h
=yes
66 GNUTLS_CONF
+= --with-default-trust-store-dir
=/etc
/ssl
/certs
/
70 GNUTLS_CONF
+= --disable-hardware-acceleration
76 cd
$< && $(GNUTLS_ENV
) .
/configure
$(GNUTLS_CONF
)
77 cd
$</gl
&& $(MAKE
) install
78 cd
$</lib
&& $(MAKE
) install