2006-02-23 15:26:10 +00:00
|
|
|
# Description: A tool for transfering files with URL syntax
|
2021-03-31 11:23:32 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# URL: https://curl.haxx.se
|
2022-01-09 03:49:59 +01:00
|
|
|
# Depends on: libnghttp2 openssl zlib zstd
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=curl
|
2023-07-26 10:29:30 +02:00
|
|
|
version=8.2.1
|
2022-05-12 08:59:05 +02:00
|
|
|
release=1
|
2019-09-11 10:57:51 +02:00
|
|
|
source=(https://curl.haxx.se/download/$name-$version.tar.xz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build() {
|
2021-03-31 11:23:32 +02:00
|
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-ipv6 \
|
|
|
|
--enable-threaded-resolver \
|
2022-01-09 03:49:59 +01:00
|
|
|
--with-ca-bundle=/etc/ssl/cert.pem \
|
2022-05-07 13:40:05 +02:00
|
|
|
--with-openssl \
|
2022-05-07 13:45:52 +02:00
|
|
|
--with-nghttp2 \
|
2022-05-07 13:40:05 +02:00
|
|
|
--disable-ldap{,s} \
|
|
|
|
--without-brotli \
|
2022-01-09 03:49:59 +01:00
|
|
|
--without-libidn2 \
|
2022-05-07 13:40:05 +02:00
|
|
|
--without-libpsl \
|
|
|
|
--without-librtmp
|
2021-03-31 11:23:32 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
make -C docs/libcurl DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|