blob: 8f5104207c439994fccbb59a4d33cb133fcb3e95 (
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
|
name=curl
version=8.20.0
release=1
source="https://$name.se/download/$name-$version.tar.xz"
keep_static=1
build() {
mkdir bin
echo "#!/bin/sh
/bin/true
" > bin/perl
chmod +x bin/perl
export PATH=$PWD/bin:$PATH
sed 's/\(curl_LDADD =\)/\1 -all-static/' -i src/Makefile.in
./configure \
--prefix=/usr \
--with-openssl \
--enable-threaded-resolver \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
--without-brotli \
--without-libidn2 \
--without-libpsl \
--without-librtmp \
--without-nghttp2 \
--without-zstd \
--disable-ldap \
--disable-manual \
--disable-ares
make
make install
}
|