mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-03 23:05:41 +08:00
ftp.gnu.org is unreliable and frequently times out during CI builds. ftpmirror.gnu.org is GNU's own CDN that auto-redirects to the nearest mirror. This is the recommended download method per https://www.gnu.org/prep/ftp.en.html Also normalizes /pub/gnu/ paths to /gnu/ since ftpmirror only serves the latter. Affects: libiconv, gettext, gmp, idn2, libunistring, ncurses, readline
20 lines
447 B
YAML
20 lines
447 B
YAML
gmp:
|
|
type: library
|
|
artifact:
|
|
source:
|
|
type: filelist
|
|
url: 'https://ftpmirror.gnu.org/gnu/gmp/'
|
|
regex: '/href="(?<file>gmp-(?<version>[^"]+)\.tar\.xz)"/'
|
|
source-mirror:
|
|
type: url
|
|
url: 'https://dl.static-php.dev/static-php-cli/deps/gmp/gmp-6.3.0.tar.xz'
|
|
metadata:
|
|
license-files: ['@/gmp.txt']
|
|
license: Custom
|
|
headers:
|
|
- gmp.h
|
|
pkg-configs:
|
|
- gmp
|
|
static-libs@unix:
|
|
- libgmp.a
|