#!/bin/bash # Build script for curl # Command line tool for transferring data with URLs set -e cd "$SRCDIR" # Ensure runtime linker can find our libraries export LD_LIBRARY_PATH="/usr/lib:$LD_LIBRARY_PATH" # Configure curl with LibreSSL ./configure \ --build=$BUILD_TRIPLE \ --host=$BUILD_TRIPLE \ --prefix=$PREFIX \ --with-ssl=/usr \ --with-zlib=/usr \ --enable-ipv6 \ --enable-unix-sockets \ --disable-ldap \ --disable-ldaps \ --without-brotli \ --without-zstd \ --without-libidn2 \ --without-libpsl \ --without-nghttp2 \ --without-nghttp3 \ --without-ngtcp2 \ --without-librtmp \ --without-libssh2 gmake -j${JOBS:-1} gmake install DESTDIR="$PKGDIR" # curl - Command line tool for transferring data with URLs # https://curl.se/ [package] name = "curl" version = "8.18.0" release = 1 description = "Command line tool and library for transferring data with URLs" url = "https://curl.se/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["zlib"] build = ["zlib"] [[source]] file = "curl-8.18.0.tar.xz" urls = ["https://curl.se/download/curl-8.18.0.tar.xz"] checksum = "40df79166e74aa20149365e11ee4c798a46ad57c34e4f68fd13100e2c9a91946" [build] parallel = true jobs = 0