blob: 9bc7a477c1c40ca70e96722abe93774409984e34 (
plain)
1 # Description: A tool for transfering files with URL syntax
2 # Maintainer: CRUX System Team, core-ports at crux dot nu
3 # URL: https://curl.haxx.se
4 # Depends on: libnghttp2 openssl zlib zstd
5
6 name=curl
7 version=7.87.0
8 release=1
9 source=(https://curl.haxx.se/download/$name-$version.tar.xz)
10
11 build() {
12 cd $name-$version
13 ./configure \
14 --prefix=/usr \
15 --enable-ipv6 \
16 --enable-threaded-resolver \
17 --with-ca-bundle=/etc/ssl/cert.pem \
18 --with-openssl \
19 --with-nghttp2 \
20 --disable-ldap{,s} \
21 --without-brotli \
22 --without-libidn2 \
23 --without-libpsl \
24 --without-librtmp
25 make
26 make DESTDIR=$PKG install
27 make -C docs/libcurl DESTDIR=$PKG install
28 }
|