mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
40 lines
1,001 B
YAML
40 lines
1,001 B
YAML
distributable:
|
|
# Primary mirror seems to 404 a lot...
|
|
# url: https://lftp.yar.ru/ftp/lftp-{{ version }}.tar.xz
|
|
url: http://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/lftp-{{ version }}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: lavv17/lftp
|
|
|
|
dependencies:
|
|
gnu.org/libidn2: '*'
|
|
gnu.org/gettext: '*'
|
|
gnu.org/readline: '*'
|
|
openssl.org: ^1.1
|
|
zlib.net: '*'
|
|
invisible-island.net/ncurses: '*'
|
|
libexpat.github.io: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
darwin:
|
|
# https://github.com/lavv17/lftp/issues/611
|
|
CFLAGS: "$CFLAGS -Wno-implicit-function-declaration"
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --with-openssl="{{deps.openssl.org.prefix}}"
|
|
- --with-readline="{{deps.gnu.org/readline.prefix}}"
|
|
- --with-libidn2="{{deps.gnu.org/libidn2.prefix}}"
|
|
|
|
provides:
|
|
- bin/lftp
|
|
- bin/lftpget
|
|
|
|
test: lftp -c "open ftp.gnu.org; ls"
|