2023-01-18 02:39:25 +03:00
|
|
|
distributable:
|
2023-05-08 18:17:44 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/gawk/gawk-{{ version.raw }}.tar.gz
|
2023-01-18 02:39:25 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-08 18:17:44 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/gawk/
|
|
|
|
match: /gawk-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /gawk-/
|
|
|
|
- /.tar.gz/
|
2023-01-18 02:39:25 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/awk
|
|
|
|
- bin/gawk
|
|
|
|
- bin/gawk-{{version}}
|
|
|
|
- bin/gawkbug
|
|
|
|
|
|
|
|
build:
|
|
|
|
script: |
|
|
|
|
./configure --prefix={{ prefix }}
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
2023-10-02 03:41:57 +03:00
|
|
|
test: make test
|
2023-01-18 02:39:25 +03:00
|
|
|
|
|
|
|
test:
|
2023-10-02 03:41:57 +03:00
|
|
|
script: test "$(echo "Goodbye, cruel World" | gawk '{ gsub("Goodbye, cruel", "Hello,"); print }')" = "Hello, World"
|