summaryrefslogtreecommitdiffstats
path: root/rules/host-libcurl.make
blob: e223573ea0957765676e82bea0b9720bba5609d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# -*-makefile-*-
#
# Copyright (C) 2018 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
HOST_PACKAGES-$(PTXCONF_HOST_LIBCURL) += host-libcurl

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
HOST_LIBCURL_CONF_TOOL	:= autoconf
HOST_LIBCURL_CONF_OPT	:= \
	$(HOST_AUTOCONF) \
	\
	--enable-optimize \
	--disable-warnings \
	--disable-werror \
	--disable-curldebug \
	--enable-symbol-hiding \
	--disable-ares \
	--enable-rt \
	--disable-ech \
	--disable-code-coverage \
	--enable-http \
	--disable-ftp \
	--disable-file \
	--disable-ldap \
	--disable-ldaps \
	--disable-rtsp \
	--enable-proxy \
	--disable-dict \
	--disable-telnet \
	--disable-tftp \
	--disable-pop3 \
	--disable-imap \
	--disable-smb \
	--disable-smtp \
	--disable-gopher \
	--disable-docs \
	--disable-mqtt \
	--disable-manual \
	--enable-libcurl-option \
	--disable-libgcc \
	--enable-ipv6 \
	--enable-openssl-auto-load-config \
	--disable-versioned-symbols \
	--disable-threaded-resolver \
	--enable-pthreads \
	--disable-verbose \
	--disable-sspi \
	--enable-basic-auth \
	--disable-bearer-auth \
	--disable-digest-auth \
	--disable-kerberos-auth \
	--disable-negotiate-auth \
	--disable-aws \
	--disable-ntlm \
	--disable-ntlm-wb \
	--disable-tls-srp \
	--enable-unix-sockets \
	--disable-cookies \
	--enable-socketpair \
	--disable-http-auth \
	--disable-doh \
	--disable-mime \
	--enable-bindlocal \
	--disable-form-api \
	--enable-dateparse \
	--disable-netrc \
	--enable-progress-meter \
	--disable-dnsshuffle \
	--enable-get-easy-options \
	--disable-alt-svc \
	--disable-headers-api \
	--enable-hsts \
	--disable-websockets \
	--without-schannel \
	--without-secure-transport \
	--without-amissl \
	--with-ssl \
	--with-openssl=$(PTXDIST_SYSROOT_HOST) \
	--without-gnutls \
	--without-mbedtls \
	--without-wolfssl \
	--without-bearssl \
	--without-rustls \
	--without-hyper \
	--without-zlib \
	--without-brotli \
	--without-zstd \
	--without-gssapi \
	--with-default-ssl-backend=openssl \
	--with-random=/dev/urandom \
	--without-ca-fallback \
	--without-libpsl \
	--without-libgsasl \
	--without-libssh2 \
	--without-libssh \
	--without-wolfssh \
	--without-librtmp \
	--without-winidn \
	--without-libidn2 \
	--without-nghttp2 \
	--without-ngtcp2 \
	--without-nghttp3 \
	--without-quiche \
	--without-msh3 \
	--without-zsh-functions-dir \
	--without-fish-functions-dir

$(STATEDIR)/host-libcurl.install:
	@$(call targetinfo)
	@$(call world/install, HOST_LIBCURL)
	@rm -v $(HOST_LIBCURL_PKGDIR)/usr/bin/curl
	@$(call touch)

# vim: syntax=make