mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
36 lines
No EOL
906 B
YAML
36 lines
No EOL
906 B
YAML
distributable:
|
|
url: https://github.com/aria2/aria2/releases/download/release-{{ version }}/aria2-{{ version }}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: aria2/aria2/releases
|
|
strip: /^aria2 /
|
|
|
|
provides:
|
|
- bin/aria2c
|
|
|
|
dependencies:
|
|
zlib.net: ^1
|
|
openssl.org: ^1
|
|
libexpat.github.io: '*'
|
|
sqlite.org: ^3
|
|
|
|
build:
|
|
dependencies:
|
|
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" |