blob: 9bdb6b1a1d16cd2fc48c5cb402058e7215de4dff (
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
|
#!/usr/bin/make -f
include ../source.mk
nop:
@:
# Should use "--with-ca-path=/etc/x509/server-auth" instead "--with-ca-bundle",
# but "--with-ca-path only works with OpenSSL, GnuTLS or mbedTLS".
build:
oh-autoconfigure -- \
--enable-werror \
--enable-shared \
--disable-static \
--disable-ldap \
--disable-ldaps \
--disable-rtsp \
--disable-dict \
--disable-telnet \
--disable-tftp \
--disable-pop3 \
--disable-imap \
--disable-smb \
--disable-smtp \
--disable-gopher \
--disable-mqtt \
--disable-manual \
--disable-libcurl-option \
--disable-verbose \
--disable-unix-sockets \
--disable-doh \
--disable-mime \
--disable-dnsshuffle \
--disable-alt-svc \
--with-zlib \
--without-brotli \
--without-zstd \
--without-gssapi \
--without-ssl \
--without-gnutls \
--without-mbedtls \
--with-wolfssl \
--without-mesalink \
--without-bearssl \
--without-nss \
--with-ca-bundle=/usr/share/x509/server-auth/nss-certdata.pem \
--without-libpsl \
--without-libmetalink \
--without-libssh2 \
--without-libssh \
--without-wolfssh \
--without-libidn2 \
--without-nghttp2 \
--without-ngtcp2 \
--without-nghttp3 \
--without-quiche \
--without-zsh-functions-dir \
--without-fish-functions-dir
oh-autobuild
touch $@
install: build
oh-autoinstall
rm dest/usr/lib/$(OPK_HOST_ARCH)/libcurl.la
rm dest/usr/bin/curl-config
rm dest/usr/share/man/man1/curl-config.1
oh-fixperms
oh-strip
oh-installfiles
oh-shlibdeps
|