summaryrefslogtreecommitdiffstats
path: root/rules/host-libcurl.make
blob: dc28de77898580c58b38698640c3f2b954aeed5a (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
# -*-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) \
	--with-random=/dev/urandom \
	--without-zlib \
	\
	--disable-ldap \
	--disable-ldaps \
	--disable-rtsp \
	--disable-dict \
	--disable-telnet \
	--disable-pop3 \
	--disable-imap \
	--disable-smb \
	--disable-smtp \
	--disable-gopher \
	--disable-manual \
	\
	--disable-sspi \
	--disable-ntlm-wb \
	--disable-debug \
	--disable-verbose \
	\
	--enable-thread \
	--enable-nonblocking\
	--enable-hidden-symbols \
	--enable-proxy \
	\
	--without-krb4 \
	--without-spnego \
	--without-gssapi \
	--without-winssl \
	--without-darwinssl \
	--without-gnutls \
	--without-nss \
	--without-winidn \
	--without-libidn \
	--without-axtls \
	--without-polarssl \
	--without-cyassl \
	--without-librtmp \
	\
	--disable-ares \
	--disable-http \
	--disable-nghttp2 \
	--disable-cookies \
	--disable-ftp \
	--disable-tftp \
	--disable-file \
	--disable-crypto-auth \
	--disable-libssh2 \
	--without-ssl

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

# vim: syntax=make