mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-03 14:55:39 +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
430 B
YAML
20 lines
430 B
YAML
gettext:
|
|
type: library
|
|
artifact:
|
|
source:
|
|
type: filelist
|
|
url: 'https://ftpmirror.gnu.org/gnu/gettext/'
|
|
regex: '/href="(?<file>gettext-(?<version>[^"]+)\.tar\.xz)"/'
|
|
metadata:
|
|
license-files: [gettext-runtime/intl/COPYING.LIB]
|
|
license: LGPL-2.1-or-later
|
|
depends:
|
|
- libiconv
|
|
suggests:
|
|
- ncurses
|
|
- libxml2
|
|
frameworks:
|
|
- CoreFoundation
|
|
static-libs@unix:
|
|
- libintl.a
|