mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +03:00
7dcc53658f
* add as much of gnu as we need to get gcc built * address code review
27 lines
571 B
YAML
27 lines
571 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/gawk/gawk-{{ version.raw }}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
#TODO HTML listing: https://ftp.gnu.org/gnu/gawk/
|
|
- 5.2.1
|
|
|
|
provides:
|
|
- bin/awk
|
|
- bin/gawk
|
|
- bin/gawk-{{version}}
|
|
- bin/gawkbug
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/make: '*'
|
|
tea.xyz/gx/cc: c99
|
|
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"
|