pantry/projects/curl.se/package.yml

38 lines
696 B
YAML
Raw Normal View History

2022-08-02 05:04:17 +03:00
distributable:
2022-09-29 19:07:07 +03:00
url: https://curl.se/download/curl-{{version}}.tar.bz2
2022-08-02 05:04:17 +03:00
strip-components: 1
versions:
github: curl/curl
strip: /^curl /
dependencies:
openssl.org: ^1.1
2023-03-31 18:40:14 +03:00
curl.se/ca-certs: '*'
2022-08-02 05:04:17 +03:00
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
2022-09-07 03:33:51 +03:00
./configure $ARGS
2022-08-02 05:04:17 +03:00
make --jobs {{ hw.concurrency }} install
2022-09-07 03:33:51 +03:00
env:
ARGS:
- --prefix={{prefix}}
- --with-openssl
- --with-ca-fallback # uses openssls certs (which we control)
2022-08-02 05:04:17 +03:00
test:
make test
test:
script: |
curl -i tea.xyz
2022-08-23 00:33:05 +03:00
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
2022-08-31 21:05:21 +03:00
# TODO need to fix the .la file
2022-11-18 21:43:48 +03:00
provides:
- bin/curl
- bin/curl-config