pantry/projects/aria2.github.io/package.yml

38 lines
954 B
YAML
Raw Normal View History

2023-01-30 04:36:23 +03:00
distributable:
url: https://github.com/aria2/aria2/releases/download/release-{{ version }}/aria2-{{ version }}.tar.xz
strip-components: 1
versions:
2023-04-19 08:42:39 +03:00
github: aria2/aria2/releases
2023-01-30 04:36:23 +03:00
strip: /^aria2 /
provides:
- bin/aria2c
dependencies:
zlib.net: ^1
openssl.org: ^1
libexpat.github.io: '*'
sqlite.org: ^3
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
gnupg.org/libgcrypt: ^1
gnupg.org/libgpg-error: ^1
freedesktop.org/pkg-config: '*'
script: |
./configure $ARGS
make --jobs {{hw.concurrency}}
make install
env:
ARGS:
- --prefix="{{prefix}}"
- --with-openssl
- --with-libgcrypt
test: |
aria2c -v
aria2c https://tea.xyz
aria2c --seed-time=0 "magnet:?xt=urn:btih:d984f67af9917b214cd8b6048ab5624c7df6a07a&tr=https%3A%2F%2Facademictorrents.com%2Fannounce.php&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce"