pantry/projects/gnu.org/parallel/package.yml

35 lines
662 B
YAML
Raw Normal View History

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$/
2024-01-29 18:34:32 +03:00
dependencies:
perl.org: 5
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'
2024-01-29 18:34:32 +03:00
- parallel --version | grep {{version.raw}}