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

25 lines
484 B
YAML
Raw Normal View History

2023-09-27 19:08:06 +03:00
distributable:
url: https://ftp.gnu.org/gnu/which/which-{{version.raw}}.tar.gz
strip-components: 1
versions:
url: https://ftp.gnu.org/gnu/which
match: /which-\d+(\.\d+)*\.tar\.gz/
strip:
- /^which-/
- /\.tar\.gz$/
build:
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
provides:
- bin/which
test: which -a which | grep "{{prefix}}/bin/which"