mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+aria2
This commit is contained in:
parent
a5b3cfcf04
commit
a1242a0085
38
projects/aria2.github.io/package.yml
Normal file
38
projects/aria2.github.io/package.yml
Normal file
|
@ -0,0 +1,38 @@
|
|||
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"
|
Loading…
Reference in a new issue