mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
36 lines
672 B
YAML
36 lines
672 B
YAML
distributable:
|
||
url: https://curl.se/download/curl-{{version}}.tar.bz2
|
||
strip-components: 1
|
||
|
||
versions:
|
||
github: curl/curl
|
||
strip: /^curl /
|
||
|
||
dependencies:
|
||
openssl.org: ^1.1
|
||
|
||
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 openssl’s 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
|