mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
a494a89842
Fixes crash due to cURL needing a patch for Sonoma. We use the Apple vendored cURL to work around this but probs will need to patch cURL as well. We'll see. Note this is notable in that we elected to use more of our own deps on macOS than eg. brew, but probs should approach some balance with that.
29 lines
581 B
YAML
29 lines
581 B
YAML
distributable:
|
||
url: https://curl.se/download/curl-{{version}}.tar.bz2
|
||
strip-components: 1
|
||
|
||
display-name: cURL
|
||
|
||
versions:
|
||
github: curl/curl/releases
|
||
strip: /^curl /
|
||
|
||
dependencies:
|
||
openssl.org: ^1.1
|
||
curl.se/ca-certs: '*'
|
||
zlib.net: ^1.2.11
|
||
|
||
build:
|
||
- ./configure
|
||
--prefix={{prefix}}
|
||
--with-openssl
|
||
--with-ca-fallback # uses openssl’s certs (which we control)
|
||
- make --jobs {{ hw.concurrency }} install
|
||
|
||
test:
|
||
curl -i tea.xyz
|
||
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
|
||
|
||
provides:
|
||
- bin/curl
|
||
- bin/curl-config
|