new file: projects/gnu.org/parallel/package.yml

This commit is contained in:
Andrii Riabchenko 2024-01-28 22:35:37 +02:00 committed by Jacob Heider
parent 7d72d2c261
commit 7bb3293f2b

View file

@ -0,0 +1,31 @@
distributable:
url: https://ftp.gnu.org/gnu/parallel/parallel-{{version.raw}}.tar.bz2
strip-components: 1
versions:
url: https://ftp.gnu.org/gnu/parallel/
match: /parallel-\d+\.tar\.bz2/
strip:
- /^parallel-/
- /\.tar\.bz2$/
build:
script:
- ./configure --prefix={{prefix}}
- make --jobs {{hw.concurrency}} install
env:
PATH: ${{prefix}}/bin:$PATH
provides:
- bin/env_parallel
- bin/niceload
- bin/parallel
- bin/parcat
- bin/parset
- bin/parsort
- bin/sem
- bin/sql
test:
- parallel --will-cite echo ':::' test test | grep 'test'
- parallel --version | grep {{version.raw}}