Files
chromebrew/packages/curl.rb
github-actions[bot] a904e2f4a5 AutoBuild: update-curl started at 2025-06-05-07UTC (#11993)
* Curl 8.13.0 => 8.14.1

* Add built packages for linux/386 to update-curl

* Add built packages for linux/amd64 to update-curl

* Add built packages for linux/arm/v7 to update-curl

---------

Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: uberhacker <uberhacker@users.noreply.github.com>
2025-06-05 11:38:27 +00:00

50 lines
1.6 KiB
Ruby

require 'buildsystems/autotools'
class Curl < Autotools
description 'Command line tool and library for transferring data with URLs.'
homepage 'https://curl.se/'
version '8.14.1'
license 'curl'
compatibility 'all'
source_url "https://curl.se/download/curl-#{version}.tar.xz"
source_sha256 'f4619a1e2474c4bbfedc88a7c2191209c8334b48fa1f4e53fd584cc12e9120dd'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '5e3a5526dfbc38189c10fa8f7f93f591a348176b8c634e164c19489e3d274eb1',
armv7l: '5e3a5526dfbc38189c10fa8f7f93f591a348176b8c634e164c19489e3d274eb1',
i686: '7435f0fdb9ea4293f5b5051a7bb8a244a9a5120745a869791cbca8a4a0ce84b6',
x86_64: 'b54b2e8ab20278301fa1a541ecbb354d895d20dc5f169b2a9a5cacc9f0785f63'
})
depends_on 'brotli' # R
depends_on 'ca_certificates' => :build
depends_on 'c_ares' # R
depends_on 'glibc' # R
depends_on 'libcyrussasl' # R
depends_on 'libidn2' # R
depends_on 'libnghttp2' # R
depends_on 'libpsl' # R
depends_on 'libssh' # R
depends_on 'libunistring' # R
depends_on 'openldap' # R
depends_on 'openssl' # R
depends_on 'python3' => :build
depends_on 'valgrind' => :build
depends_on 'zlib' # R
depends_on 'zstd' # R
autotools_configure_options "--disable-maintainer-mode \
--enable-ares \
--enable-ipv6 \
--enable-ldap \
--enable-unix-sockets \
--with-ca-bundle=#{CREW_PREFIX}/etc/ssl/certs/ca-certificates.crt \
--with-ca-fallback \
--with-ca-path=#{CREW_PREFIX}/etc/ssl/certs \
--with-libssh \
--with-openssl \
--without-gnutls \
--without-librtmp"
end