mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 17:05:07 +03:00
2593cefed7
* mk ncurses install its headers namespaced and not * adds test for readline
27 lines
605 B
YAML
27 lines
605 B
YAML
distributable:
|
|
url: https://ftp.gnu.org/gnu/readline/readline-{{ version.raw }}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
#TODO brew has a couple patches we should apply
|
|
- 8.2
|
|
- 8.1
|
|
|
|
dependencies:
|
|
invisible-island.net/ncurses: ^6
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
script: |
|
|
./configure --prefix={{ prefix }} --with-curses
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script: |
|
|
cc -lreadline -lncurses fixture.c
|
|
test "$(echo "Hello, World!" | ./a.out)" = "test> Hello, World!
|
|
Hello, World!\\n"
|