mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+which
This commit is contained in:
parent
4e75a0c677
commit
62ff4dc4ae
1 changed files with 27 additions and 0 deletions
27
projects/gnu.org/which/package.yml
Normal file
27
projects/gnu.org/which/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
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:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
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"
|
Loading…
Reference in a new issue