mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
38f7b09a0c
libpsl causes some weird downstream behavior in php
36 lines
696 B
YAML
36 lines
696 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:
|
||
script:
|
||
- ./configure $ARGS
|
||
- make --jobs {{ hw.concurrency }} install
|
||
env:
|
||
ARGS:
|
||
- --prefix={{prefix}}
|
||
- --with-openssl
|
||
# causes weird downstream bugs in php
|
||
- --without-libpsl
|
||
# uses openssl’s certs (which we control)
|
||
- --with-ca-fallback
|
||
|
||
test:
|
||
- curl -i pkgx.sh
|
||
- curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org
|
||
|
||
provides:
|
||
- bin/curl
|
||
- bin/curl-config
|