pantry/projects/gnu.org/parallel/package.yml
Jacob Heider 647b908a83
fix(parallel)
requires perl
2024-01-29 10:34:32 -05:00

34 lines
662 B
YAML

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$/
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'
- parallel --version | grep {{version.raw}}