pantry/projects/aria2.github.io/package.yml
Jacob Heider a1242a0085 +aria2
2023-01-29 21:55:18 -05:00

38 lines
945 B
YAML

distributable:
url: https://github.com/aria2/aria2/releases/download/release-{{ version }}/aria2-{{ version }}.tar.xz
strip-components: 1
versions:
github: aria2/aria2
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"