2006-02-23 16:26:10 +01: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
|
|
|
|
# Depends on: openssl zlib zstd
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=curl
|
2021-04-14 10:53:49 +02:00
|
|
|
version=7.76.1
|
2017-02-22 21:28:44 +01:00
|
|
|
release=1
|
2019-09-11 10:57:51 +02:00
|
|
|
source=(https://curl.haxx.se/download/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-03-31 11:23:32 +02:00
|
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-ipv6 \
|
|
|
|
--without-libidn2 \
|
|
|
|
--without-cyassl \
|
|
|
|
--enable-threaded-resolver \
|
|
|
|
--with-ca-bundle=/etc/ssl/cert.pem
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
make -C docs/libcurl DESTDIR=$PKG install
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|