mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
26 lines
555 B
YAML
26 lines
555 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/gawk/gawk-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://ftp.gnu.org/gnu/gawk/
|
|
match: /gawk-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
strip:
|
|
- /gawk-/
|
|
- /.tar.gz/
|
|
|
|
provides:
|
|
- bin/awk
|
|
- bin/gawk
|
|
- bin/gawk-{{version}}
|
|
- bin/gawkbug
|
|
|
|
build:
|
|
script: |
|
|
./configure --prefix={{ prefix }}
|
|
make --jobs {{ hw.concurrency }} install
|
|
test: make test
|
|
|
|
test:
|
|
script: test "$(echo "Goodbye, cruel World" | gawk '{ gsub("Goodbye, cruel", "Hello,"); print }')" = "Hello, World"
|