pantry/projects/curl.se/package.yml
Max Howell e097178cdf
display-names (#1915)
* display-names

* wip
2023-07-12 11:48:45 -04:00

40 lines
725 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix={{prefix}}
- --with-openssl
- --with-ca-fallback # uses openssls certs (which we control)
test:
make test
test:
script: |
curl -i tea.xyz
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
# TODO need to fix the .la file
provides:
- bin/curl
- bin/curl-config