mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
36 lines
680 B
YAML
36 lines
680 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/grep/grep-{{version.raw}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/grep/
|
|
match: /grep-(\d+\.\d+(\.\d+)?)\.tar\.gz/
|
|
strip:
|
|
- /grep-/
|
|
- /.tar.gz/
|
|
|
|
dependencies:
|
|
pcre.org/v2: '*'
|
|
|
|
build:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: ^0.29
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix={{prefix}}
|
|
- --disable-nls
|
|
- --mandir={{prefix}}/man
|
|
- --infodir={{prefix}}/info
|
|
- -with-packager=tea
|
|
|
|
provides:
|
|
- bin/grep
|
|
|
|
test:
|
|
fixture:
|
|
This line should be matched
|
|
script:
|
|
grep -P match $FIXTURE
|