blob: 7fbc03d3113c410cb17d2f52188fe2fc894e246e (
plain)
1 # Description: A tool for transfering files with URL syntax
2 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
3 # URL: https://curl.se/
4 # Depends on: curl openssl-32 zstd-32
5 # Optional: brotli-32
6
7 name=curl-32
8 version=7.87.0
9 release=1
10 source=(https://curl.se/download/${name%-*}-$version.tar.xz)
11
12 build() {
13 cd ${name%-*}-$version
14
15 prt-get isinst brotli && ! prt-get isinst brotli-32 && printf "\e[031mbrotli is detected on your system, please run:
16 prt-get depinst brotli-32
17 before continuing with curl-32.\033[0m\n" &&
18 exit 1
19
20 ./configure --prefix=/usr \
21 --libdir=/usr/lib32 \
22 --enable-ipv6 \
23 --without-libidn2 \
24 --with-openssl \
25 --enable-threaded-resolver \
26 --with-ca-bundle=/etc/ssl/cert.pem
27 make
28 make DESTDIR=$PKG install
29
30 rm -r $PKG/usr/{bin,include,share/man,share}
31 }
|